Bug 28512: Add branchcode as class to spinelabel element
To test: -Apply patch and generate a quick spine label. -Inscept the page and notice that the #spinelabel element should contain a new class which corresponds with that the of the logged in branch. 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>
This commit is contained in:
parent
ba272622c1
commit
bfc60fb8c1
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
[% USE raw %]
|
||||
[% USE Asset %]
|
||||
[% USE Branches %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Spine labels › Tools › Koha</title>
|
||||
|
@ -21,7 +22,7 @@
|
|||
</div>
|
||||
[% ELSE %]
|
||||
<body id="labels_spinelabel-print" class="tools labels">
|
||||
<div id="spinelabel">
|
||||
<div id="spinelabel" class="[% Branches.GetLoggedInBranchcode | html %]">
|
||||
[% content | $raw %]
|
||||
</div>
|
||||
<div id="print_button" class="noprint">
|
||||
|
|
Loading…
Reference in a new issue