Bug 31633: (QA follow-up) Add data-attribute for logged-in library
The class has some advantages, but I thought it would be nice to also have the complete set of options in data-attributes. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
67910eeb50
commit
504f418957
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@
|
|||
</div>
|
||||
[% ELSE %]
|
||||
<body id="labels_spinelabel-print" class="tools labels">
|
||||
<div id="spinelabel" class="[% Branches.GetLoggedInBranchcode | html %]" data-homebranch="[% itemhomebranch | html %]" data-holdingbranch="[% itemholdingbranch | html %]">
|
||||
<div id="spinelabel" class="[% Branches.GetLoggedInBranchcode | html %]" data-loggedinbranch="[% Branches.GetLoggedInBranchcode | html %]" data-homebranch="[% itemhomebranch | html %]" data-holdingbranch="[% itemholdingbranch | html %]">
|
||||
[% content | $raw %]
|
||||
</div>
|
||||
<div id="print_button" class="noprint">
|
||||
|
|
Loading…
Reference in a new issue