Bug 32169: Add page-section and fieldsets to batch item modification
This patch extends some alert boxes to include the error details tables and updates the html_helpers include to add a page-section around the item results table 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
8d082d1452
commit
a419d0845f
2 changed files with 26 additions and 27 deletions
koha-tmpl/intranet-tmpl/prog/en
|
@ -209,12 +209,12 @@
|
|||
[% END %]
|
||||
|
||||
[% BLOCK items_table_batchmod %]
|
||||
|
||||
<div class="page-section">
|
||||
[% IF display_columns_selection %][%# Needs js/pages/batchMod.js %]
|
||||
[% IF checkboxes_edit OR checkboxes_delete %]
|
||||
<div id="toolbar">
|
||||
<fieldset class="action">
|
||||
<a id="selectallbutton" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="clearallbutton" href="#"><i class="fa fa-remove"></i> Clear all</a> | <a id="clearonloanbutton" href="#">Clear on loan</a>
|
||||
</div>
|
||||
</fieldset>
|
||||
[% END %]
|
||||
|
||||
<div id="cataloguing_additem_itemlist">
|
||||
|
@ -339,5 +339,5 @@
|
|||
[% END # /FOREACH items %]
|
||||
</tbody>
|
||||
</table> <!-- /#itemst -->
|
||||
|
||||
</div>
|
||||
[% END %]
|
||||
|
|
|
@ -75,7 +75,6 @@
|
|||
</div>
|
||||
[% END %]
|
||||
|
||||
|
||||
[% IF ( barcode_not_unique ) %]
|
||||
<div class="dialog alert">
|
||||
<strong>Error saving item</strong>: Barcode must be unique.
|
||||
|
@ -90,19 +89,19 @@
|
|||
[% IF ( notfoundbarcodes.size ) %]
|
||||
<div class="dialog alert">
|
||||
<p>Warning, the following barcodes were not found:</p>
|
||||
<br/>
|
||||
<table style="margin:auto;">
|
||||
<thead>
|
||||
<tr><th>Barcodes not found</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
[% FOREACH notfoundbarcode IN notfoundbarcodes %]
|
||||
<tr><td>[% notfoundbarcode |html %]</td></td>
|
||||
[% END %]
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<table style="margin:auto;">
|
||||
<thead>
|
||||
<tr><th>Barcodes not found</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
[% FOREACH notfoundbarcode IN notfoundbarcodes %]
|
||||
<tr><td>[% notfoundbarcode |html %]</td></td>
|
||||
[% END %]
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
[% IF ( item_loop ) %]
|
||||
[% UNLESS ( too_many_items_display ) %]
|
||||
<h4>The following barcodes were found: </h4>
|
||||
|
@ -113,18 +112,18 @@
|
|||
[% IF ( notfounditemnumbers.size ) %]
|
||||
<div class="dialog alert">
|
||||
<p>Warning, the following itemnumbers were not found:</p>
|
||||
<br/>
|
||||
<table style="margin:auto;">
|
||||
<thead>
|
||||
<tr><th>Itemnumbers not found</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
[% FOREACH notfounditemnumber IN notfounditemnumbers %]
|
||||
<tr><td>[% notfounditemnumber |html %]</td></td>
|
||||
[% END %]
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<table style="margin:auto;">
|
||||
<thead>
|
||||
<tr><th>Itemnumbers not found</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
[% FOREACH notfounditemnumber IN notfounditemnumbers %]
|
||||
<tr><td>[% notfounditemnumber |html %]</td></td>
|
||||
[% END %]
|
||||
</tbody>
|
||||
</table>
|
||||
[% IF ( item_loop ) %]
|
||||
[% UNLESS ( too_many_items_display ) %]
|
||||
<h4>The following itemnumbers were found: </h4>
|
||||
|
|
Loading…
Reference in a new issue