[Koha-bugs] [Bug 6901] Add CSS classes/ids to OPAC and staff XSLT views

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 21 22:47:43 CEST 2011


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

--- Comment #4 from Liz Rea <wizzyrea at gmail.com> 2011-09-21 20:47:43 UTC ---
Created attachment 5522
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5522
Bug 6901: Add classes to XSLT detail view in STAFF

This patch adds css classes to the fields in XSLT intranet views.
Use OpacUserCss and IntranetUserCss system preferences for altering the styling
of
and hiding fields.

The css classes are named like the labels with additional underscores
where necessary.

Example:
.publisher {
display:none;
}

.other_title {
font-weight: bold;
}

Note: This patch also fixes the display of additional authors in field 880
(original
scripts like Hebrew). This small additional problem was found as a side effect
of testing, where the
existence of an author in 880 would break the XSLT.

Also moves some CSS from a style attribute into the CSS file for 880 fields.

Signed-off-by: Liz Rea <lrea at nekls.org>

-- minor commit message edits (requested by KF)

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list