From 7c140cea6e038b440b17ca28ae5eebcf0d65f77f 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 Signed-off-by: Katrin Fischer --- .../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 127a187b72..e8f545ee9d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -1048,36 +1048,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 2f48e732b7..ebb14884ce 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1186,36 +1186,42 @@ - Holdings:
+ Holdings: - - az - - ;
+ + + az + + ; +
- Supplements:
+ Supplements: - - az - - ;
+ + + az + + ; +
- Indexes:
+ Indexes: - - az - - ;
+ + + az + + ;
+
-- 2.11.0