From 2900debc65318237ee95fa6c5dbbbd69c8a7e6c4 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 --- .../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 54f7124d6f..da88114133 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -1065,36 +1065,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 741e4609fa..0fac4586a8 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1201,36 +1201,42 @@ - Holdings:
+ Holdings: - - az - - ;
+ + + az + + ; +
- Supplements:
+ Supplements: - - az - - ;
+ + + az + + ; +
- Indexes:
+ Indexes: - - az - - ;
+ + + az + + ;
+
-- 2.39.5