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,8 +22,8 @@
|
|||
</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 %]">
|
||||
[% content | $raw %]
|
||||
<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">
|
||||
<button class="btn btn-default print-label"><i class="fa fa-print"></i> Print this label</button>
|
||||
|
|
Loading…
Reference in a new issue