[% END %]
</tbody>
</table>
- [% IF ( item_loop ) %]
- [% UNLESS ( too_many_items ) %]
- <h4>The following barcodes were found: </h4>
+ [% UNLESS ( too_many_items_display ) %]
+ [% IF ( item_loop ) %]
+ <h4>The following barcodes were found: </h4>
[% END %]
[% END %]
[% END %] <!-- /notfoundbarcodes -->
[% END %]
</tbody>
</table>
- [% IF ( item_loop ) %]
- [% UNLESS ( too_many_items ) %]
- <h4>The following itemnumbers were found: </h4>
+ [% UNLESS ( too_many_items_display ) %]
+ [% IF ( item_loop ) %]
+ <h4>The following itemnumbers were found: </h4>
[% END %]
[% END %]
[% END %] <!-- /notfounditemnumbers -->
[% IF ( show ) %]
-[% IF ( too_many_items ) %]
- <p>Too many items ([% too_many_items | html %]) to display individually.</p>
+[% IF ( too_many_items_display ) %]
+ <p>Too many items ([% too_many_items_display | html %]) to display individually.</p>
[% FOREACH itemnumber IN itemnumbers_array %]
<input type="hidden" name="itemnumber" value="[% itemnumber | html %]" />
[% END %]
[% IF ( itemresults ) %]
<div id="cataloguing_additem_newitem">
<input type="hidden" name="op" value="[% op | html %]" />
- <p>This will delete [% IF ( too_many_items ) %]all the[% ELSE %]the selected[% END %] items.</p>
+ <p>This will delete [% IF ( too_many_items_display ) %]all the[% ELSE %]the selected[% END %] items.</p>
<input type="hidden" name="del" value="1" />
<fieldset class="action">
<input type="checkbox" name="del_records" id="del_records" /> <label for="del_records">Delete records if no items remain.</label>
- [% IF too_many_items %]
+ [% IF too_many_items_display %]
<input type="submit" name="mainformsubmit" value="Delete ALL submitted items" />
[% ELSE %]
<input type="submit" name="mainformsubmit" value="Delete selected items" />