From acfb5c5c37846483eb4455d12f698656d80b5598 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; } Signed-off-by: Liz Rea --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 36 +++++++++++++--------- .../bootstrap/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 9c5b95985a..0c98de49c2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -1004,36 +1004,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 7d65ad8b16..dce44bdfd3 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1144,36 +1144,42 @@ - Holdings:
+ Holdings: - - az - - ;
+ + + az + + ; +
- Supplements:
+ Supplements: - - az - - ;
+ + + az + + ; +
- Indexes:
+ Indexes: - - az - - ;
+ + + az + + ;
+
-- 2.11.0