Koha/koha-tmpl/intranet-tmpl/prog/en/includes/tools-item-action.inc
Nick Clemens 5cdae4c64b Bug 26336: Add hint before and remove select after staging with no items
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-12-04 15:40:58 +01:00

36 lines
1.5 KiB
HTML

[% IF item_action_ignore AND num_items == 0 %]
No items were found during staging
[% ELSE %]
<select name="item_action" id="item_action">
[% IF ( item_action_always_add ) %]
<option value="always_add" selected="selected">
[% ELSE %]
<option value="always_add">
[% END %]
Always add items</option>
[% IF ( item_action_add_only_for_matches ) %]
<option value="add_only_for_matches" selected="selected">
[% ELSE %]
<option value="add_only_for_matches">
[% END %]
Add items only if matching bib was found</option>
[% IF ( item_action_add_only_for_new ) %]
<option value="add_only_for_new" selected="selected">
[% ELSE %]
<option value="add_only_for_new">
[% END %]
Add items only if no matching bib was found</option>
[% IF ( item_action_replace ) %]
<option value="replace" selected="selected">
[% ELSE %]
<option value="replace">
[% END %]
Replace items if matching bib was found (only for existing items)</option>
[% IF ( item_action_ignore ) %]
<option value="ignore" selected="selected">
[% ELSE %]
<option value="ignore">
[% END %]
Ignore items</option>
</select>
[% END %]