Koha/koha-tmpl/opac-tmpl/bootstrap/en/xslt
Katrin Fischer 1e5097d0fa Bug 12334: Make it easy to hide parts of material type and format information in results
With the system preferences DisplayIconsXSLT and DisplayOPACiconsXSLT we control
the visibility of the material type, format and audience information in staff
and OPAC.

Sometimes a library might only want to hide a part of that information - for
example, hide audience but keep the material type icon.

This patch adds CSS classes to make it easier to style this section of the page
and hide parts of the information.

To test:
- Verify that OPAC and staff result lists for various types of materials
  still display nicely.
- Take a look at the HTML and verify, that label and text are now
  wrapped into a new span with a results_* class.
- Try hiding a part of the information, for example in OpacUserCSS:

.results_material_type {
  display none;
}

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Works as described... but for a missing colon on example CSS

.results_material_type {
  display: none;
}

No koha-qa errors

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-11-07 15:21:26 -03:00
..
compact.xsl
MARC21slim2OPACDetail.xsl Bug 12829: properly skip invalid ISBN when rendering for normal record display 2014-11-07 11:27:52 -03:00
MARC21slim2OPACResults.xsl Bug 12334: Make it easy to hide parts of material type and format information in results 2014-11-07 15:21:26 -03:00
MARC21slimUtils.xsl Bug 12901: (QA followup) correct copy and paste error 2014-10-30 00:26:33 -03:00
NORMARCslim2OPACDetail.xsl Bug 12829: properly skip invalid ISBN when rendering for normal record display 2014-11-07 11:27:52 -03:00
NORMARCslim2OPACResults.xsl Bug 12901: BiblioDefaultView doesn't do anything with NORMARC or UNIMARC XSLT 2014-10-30 00:26:12 -03:00
NORMARCslimUtils.xsl Bug 12901: (QA followup) correct copy and paste error 2014-10-30 00:26:33 -03:00
plainMARC.xsl Bug 10647 - Make OPAC MARC plain view work for all flavours of MARC 2014-03-14 14:50:13 +00:00
UNIMARCslim2OPACDetail.xsl Bug 12829: properly skip invalid ISBN when rendering for normal record display 2014-11-07 11:27:52 -03:00
UNIMARCslim2OPACResults.xsl Bug 12901: BiblioDefaultView doesn't do anything with NORMARC or UNIMARC XSLT 2014-10-30 00:26:12 -03:00
UNIMARCslimUtils.xsl Bug 12901: (QA followup) correct copy and paste error 2014-10-30 00:26:33 -03:00