[Koha-bugs] [Bug 12334] Make it easier to hide parts of material type and format information in OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 28 13:40:45 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12334

--- Comment #1 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 31246
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31246&action=edit
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;
}

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list