From 38aaacadd5daecb8a22cd2d2dcbfe015447d266e Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 27 Sep 2022 16:44:24 +0000 Subject: [PATCH] Bug 31633: Add holding and home data attributes to spinelabel-print.tt To test: 1. Apply patch 2. Have some items with call numbers and different holding/home branches. 3. Generate some quick spine labels and use your browsers dev tools to inscept the #spinelabel element. It should have 2 new data-attributes, data-homebranch and data-holdingbranch 4. You can then apply this CSS via IntraNnetUserCSS to make sure you can select these properly now: background: red; } --- .../intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt | 2 +- labels/spinelabel-print.pl | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt index eac2ff3fbe..642a2ee550 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt @@ -21,7 +21,7 @@ [% ELSE %] -
+
[% content | $raw %]