From f50f4b314f90233d7b0f42bea497e95cc6ee8cb6 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 29 Nov 2012 11:32:52 -0500 Subject: [PATCH] Bug 9169 - Wrap relator code in to allow for CSS customization This patch adds 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 Signed-off-by: Paul Poulain Signed-off-by: Jared Camins-Esakov Signed-off-by: Chris Cormack --- .../intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl | 4 +++- koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 360af891be..24349e15f8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -916,12 +916,14 @@ - [ + + [ ] + diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl index 8094b79c88..464804ad91 100644 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl @@ -904,12 +904,14 @@ - [ + + [ ] + -- 2.39.5