Bug 34453: Update background of quick spine label pop-up
This patch updates the quick spine label popup so that the footer uses
the same markup as the recently updated Z39.50 popup window in
cataloging.
To test, apply the patch and rebuild the staff interface CSS.
Go to Cataloging -> Quick spine label creator.
- Test the form with both an existing barcode and a non-existent
barcode.
- In the pop-up window, confirm that the footer looks correct and
that the buttons in the footer, in both cases, work correctly.
Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
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
d92f033cfc
commit
3da3e6e8ff
|
|
@ -17,18 +17,29 @@
|
|||
[% IF ( BarcodeNotFound ) %]
|
||||
<body id="labels_spinelabel-print" class="tools labels">
|
||||
<div class="dialog message">The barcode [% Barcode | html %] was not found.</div>
|
||||
<div id="print_button" class="noprint">
|
||||
<button class="btn btn-default close-window">Close</button>
|
||||
</div>
|
||||
|
||||
<nav class="navbar navbar-default navbar-fixed-bottom noprint">
|
||||
<div class="container-fluid">
|
||||
<fieldset class="action">
|
||||
<button class="btn btn-default close-window">Close</button>
|
||||
</fieldset>
|
||||
</div>
|
||||
</nav>
|
||||
[% ELSE %]
|
||||
<body id="labels_spinelabel-print" class="tools labels">
|
||||
<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>
|
||||
<button class="btn btn-default edit-label"><i class="fa fa-lock"></i> Edit this label</button>
|
||||
</div>
|
||||
|
||||
<nav class="navbar navbar-default navbar-fixed-bottom noprint">
|
||||
<div class="container-fluid">
|
||||
<fieldset class="action">
|
||||
<button class="btn btn-primary print-label"><i class="fa fa-print"></i> Print this label</button>
|
||||
<button class="btn btn-default edit-label"><i class="fa fa-lock"></i> Edit this label</button>
|
||||
</fieldset>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
[% END %]
|
||||
|
||||
[% Asset.js( "lib/jquery/jquery-3.6.0.min.js" ) | $raw %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue