From bba62c93c44ca57c0f073a5e9b230faaf3899d76 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. Signed-off-by: Aleisha Amohia --- 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 ae1838d6d2..cb935d504c 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