From 35803bc64b2ec4507a42c9a428957acfa190c022 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 13 May 2024 10:58:48 -0300 Subject: [PATCH] Bug 36837: Simplify XSLT and aid translatability This patch makes the XSLT contain HTML tags instead of building them from scratch with static attribute values. This made it awkward for translators as CSS classes ended up being extracted for translation purposes. Plus, there's no need to spend CPU cycles on static content generation. Signed-off-by: Tomas Cohen Arazi Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer (cherry picked from commit 48e39c1e5cea2db2c4e0951a6efcae7e611490fb) Signed-off-by: Fridolin Somers (cherry picked from commit 22ff328708b377b4599bd072a9b444bae5953fa3) --- .../prog/en/xslt/MARC21authResults.xsl | 192 +++++------------- 1 file changed, 54 insertions(+), 138 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21authResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21authResults.xsl index 51cf2db5a0..c5e8a8f7a6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21authResults.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21authResults.xsl @@ -10,188 +10,114 @@ - - - authority-summary - - +
- - - authorizedheading - + /cgi-bin/koha/authorities/detail.pl?authid= - + - - - seefrom - - - used for/see from: - - +
+ used for/see from: - - - authref - - - - heading - +
+ - - + +
- +
- - - seealso - - - see also: - - +
+ see also: - - - authref - - - - heading - +
+ - - + +
- - - authref - - - - heading - +
+ - - + +
- - - +
+
+
- - - authorizedheading - + /cgi-bin/koha/authorities/detail.pl?authid= - - + - - - seefrom - - - used for/see from: - +
+ used for/see from: - - - authref - - - - heading - +
+ - - + +
- +
- - - seealso - - - see also: - +
+ see also: - - - authref - - - - heading - +
+ - - + +
- - - authref - - - - heading - +
+ - - + +
- - - - - +
+
+
- - - authorizedheading - + /cgi-bin/koha/authorities/detail.pl?authid= - +
-- 2.39.5