Bug 31633: Add holding and home data attributes to spinelabel-print.tt
authorLucas Gass <lucas@bywatersolutions.com>
Tue, 27 Sep 2022 16:44:24 +0000 (16:44 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 3 Oct 2022 17:05:51 +0000 (14:05 -0300)
commit67910eeb50104eb0e7d77466125260f38af3bde8
tree0da6c5cc65a91a369fd18f7afd0146b700f5c580
parent762fa03432926551b3272ad8900fabb14a1f78de
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;
}

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt
labels/spinelabel-print.pl