Browse Source

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>
22.11.x
Katrin Fischer 1 year ago
committed by Tomas Cohen Arazi
parent
commit
504f418957
Signed by: tomascohen GPG Key ID: 0A272EA1B2F3C15F
  1. 4
      koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt

4
koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt

@ -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…
Cancel
Save