Bug 6901: Add classes to XSLT detail view in STAFF
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Wed, 21 Sep 2011 19:17:16 +0000 (21:17 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Sat, 24 Sep 2011 07:49:20 +0000 (19:49 +1200)
commitf297a3ecd295fe43ad4d167fad949e12e9491571
treeca593f3fcf697e0569141d055dc1ba96306d6ff5
parent3c0883fac72368814e527325fc4e42d59f1339fc
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@nekls.org>
-- minor commit message edits (requested by KF)
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl