From 91551f5cbe59340788e875a83401e6792daf7feb Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 3 Jun 2021 15:24:12 +0000 Subject: [PATCH] Bug 28512: add logged in branch as class to spinelabel-print.tt body To test: -Apply patch and generate a quick spine label. -Inscept the page and notice that the body should contain a new class which corresponds with that the of the logged in branch. --- koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 d9505eac7d..b7ccff332c 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 @@ -1,5 +1,6 @@ [% USE raw %] [% USE Asset %] +[% USE Branches %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Spine labels › Tools › Koha @@ -14,13 +15,13 @@ [% IF ( BarcodeNotFound ) %] - +
The barcode [% Barcode | html %] was not found.
[% ELSE %] - +
[% content | $raw %]
-- 2.11.0