From 2aa3360ec6ccb90f34dfd58dea7c9fac1601b875 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 Signed-off-by: Martin Renvoize (cherry picked from commit 65de22a6ef928bd6074e9a4d6a1e1351d0e1de9b) Signed-off-by: Fridolin Somers (cherry picked from commit 2900debc65318237ee95fa6c5dbbbd69c8a7e6c4) Signed-off-by: Lucas Gass --- .../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 44d1447db2..4f246d2686 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -1052,36 +1052,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 138a24be80..9018eab1af 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1189,36 +1189,42 @@ - Holdings:
+ Holdings: - - az - - ;
+ + + az + + ; +
- Supplements:
+ Supplements: - - az - - ;
+ + + az + + ; +
- Indexes:
+ Indexes: - - az - - ;
+ + + az + + ;
+
-- 2.39.2