]> git.koha-community.org Git - koha.git/commit
Bug 6901: Add classes to XSLT detail view in OPAC
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Wed, 21 Sep 2011 20:39:51 +0000 (22:39 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Sat, 24 Sep 2011 07:49:59 +0000 (19:49 +1200)
commit5ecbdcab931117733f68f2ae4fc8c3aeda8653a0
tree449063cf5bdd7ca73afc4e5977b32fde516d0e8f
parentf297a3ecd295fe43ad4d167fad949e12e9491571
Bug 6901: Add classes to XSLT detail view in OPAC

This patch adds css classes to the fields in XSLT OPAC view so
you can use OpacUserCss system preference for formatting
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: Patch also moves some hard-coded CSS from Utils into the CSS file (only
apples for 880 fields)

Signed-off-by: Liz Rea <lrea@nekls.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/opac-tmpl/prog/en/css/opac.css
koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl
koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slimUtils.xsl