From e5941b16c81debe5560ab72eb988dec567c438df 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 --- .../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 51cf2db5a0a..c5e8a8f7a69 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.45.0