]> git.koha-community.org Git - koha.git/commit
Bug 9169 - Wrap relator code in <span> to allow for CSS customization
authorOwen Leonard <oleonard@myacpl.org>
Thu, 29 Nov 2012 16:32:52 +0000 (11:32 -0500)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 26 Dec 2012 20:00:32 +0000 (09:00 +1300)
commitf50f4b314f90233d7b0f42bea497e95cc6ee8cb6
tree8103cbeb3312ba66d91298a50bbef3cc786b635b
parenta2860b15f3aebf306490bb2ee650f5b38495a064
Bug 9169 - Wrap relator code in <span> to allow for CSS customization

This patch adds <span class="relatorcode"> around the display of
relator codes in the OPAC and the staff client, and adds a space
before the bracket (" [relatorcode]") for readability.

To test, add custom CSS to OPACUserCSS and IntranetUserCSS and
view a record which includes relator code data. Suggested:

.relatorcode {
    background-color: rgb(230, 240, 242);
    border-radius: 3px 3px 3px 3px;
    color: rgb(51, 51, 51);
    display: inline-block;
    font-size: 75%;
    font-weight: normal;
    margin-left: 0.4em;
    padding: 0.1em 0.4em;
}

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl