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>
(cherry picked from commit 5cdae4c64b)
(cherry picked from commit c2d5331cba)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2020-09-01 16:36:43 +00:00 committed by Andrew Fuerste-Henry
parent 88abfc8f29
commit 35e7e511ea
2 changed files with 5 additions and 4 deletions

View File

@ -1,8 +1,7 @@
[% IF item_action_ignore AND num_items == 0 %]
<select name="item_action" id="item_action" disabled="disabled">
No items were found during staging
[% ELSE %]
<select name="item_action" id="item_action">
[% END %]
[% IF ( item_action_always_add ) %]
<option value="always_add" selected="selected">
[% ELSE %]
@ -33,4 +32,5 @@
<option value="ignore">
[% END %]
Ignore items</option>
</select>
</select>
[% END %]

View File

@ -184,7 +184,8 @@
</li>
<li class="radio">
<input type="radio" id="parse_itemsno" name="parse_items" value="0" />
<label for="parse_itemsno">No</label>
<label for="parse_itemsno">No (If you do not check for items while staging you may not change this option later)
</label>
</li>
</ol>
<ol>