From 02678af5eecf5b0ec3b6e48639cfbd6ca4dfde6a Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 27 Sep 2018 19:49:27 +0200 Subject: [PATCH] Bug 20986: (follow-up) Avoid br tags, but allow for line breaks to be added easily with CSS This patch removes the br tags from the XSLT in favor of some more spans and classes. This will allow to add the line breaks with one line of CSS: span.holdings_note_data { display:block; } --- .../en/xslt/MARC21slim2intranetDetail.xsl | 36 +++++++++++-------- .../en/xslt/MARC21slim2OPACDetail.xsl | 36 +++++++++++-------- 2 files changed, 42 insertions(+), 30 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index c7c53e8e1a..88682d7b8b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -995,36 +995,42 @@ - Holdings:
+ Holdings: - - axz - - ;
+ + + axz + + ; +
- Supplements:
+ Supplements: - - axz - - ;
+ + + axz + + ; +
- Indexes:
+ Indexes: - - axz - - ;
+ + + axz + + ;
+
diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index 0080bf5009..13acb3ead0 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1128,36 +1128,42 @@ - Holdings:
+ Holdings: - - az - - ;
+ + + az + + ; +
- Supplements:
+ Supplements: - - az - - ;
+ + + az + + ; +
- Indexes:
+ Indexes: - - az - - ;
+ + + az + + ;
+
-- 2.17.1