Bug 11559: (QA followup) detect and warn about corruption caused by MARC-8
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / tools-item-action.inc
index 7540b5f..9b54869 100644 (file)
@@ -1,26 +1,32 @@
           <select name="item_action" id="item_action">
-            <!-- TMPL_IF NAME="item_action_always_add" -->
+            [% IF ( item_action_always_add ) %]
                 <option value="always_add" selected="selected">
-            <!-- TMPL_ELSE -->
+            [% ELSE %]
                 <option value="always_add">
-            <!-- /TMPL_IF -->
+            [% END %]
                 Always add items</option>
-            <!-- TMPL_IF NAME="item_action_add_only_for_matches" -->
+            [% IF ( item_action_add_only_for_matches ) %]
                 <option value="add_only_for_matches" selected="selected">
-            <!-- TMPL_ELSE -->
+            [% ELSE %]
                 <option value="add_only_for_matches">
-            <!-- /TMPL_IF -->
+            [% END %]
                 Add items only if matching bib was found</option>
-            <!-- TMPL_IF NAME="item_action_add_only_for_new" -->
+            [% IF ( item_action_add_only_for_new ) %]
                 <option value="add_only_for_new" selected="selected">
-            <!-- TMPL_ELSE -->
+            [% ELSE %]
                 <option value="add_only_for_new">
-            <!-- /TMPL_IF -->
+            [% END %]
                 Add items only if no matching bib was found</option>
-            <!-- TMPL_IF NAME="item_action_ignore" -->
+            [% 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">
-            <!-- TMPL_ELSE -->
+            [% ELSE %]
                 <option value="ignore">
-            <!-- /TMPL_IF -->
+            [% END %]
                 Ignore items</option>
         </select>