@@ -166,14 +280,60 @@ $(document).ready(function(){
No matching rule in effect
[% END %][% END %]
-
[% IF ( can_commit ) %]
- [% INCLUDE 'tools-overlay-action.inc' %] Changed. Reset[% ELSE %]Action if matching record found:[% overlay_action %][% END %]
+
+ [% IF ( can_commit ) %]
+
+ [% INCLUDE 'tools-overlay-action.inc' %] Changed. Reset
+ [% ELSE %]
+ Action if matching record found:
+ [% IF ( overlay_action == 'replace' ) %]
+ Replace existing record with incoming record
+ [% ELSIF ( overlay_action == 'create_new' ) %]
+ Add incoming record
+ [% ELSIF ( overlay_action == 'ignore' ) %]
+ Ignore incoming record (its items may still be processed)
+ [% ELSE %]
+ [% overlay_action %]
+ [% END %]
+ [% END %]
-
[% IF ( can_commit ) %]
- [% INCLUDE 'tools-nomatch-action.inc' %] Changed. Reset[% ELSE %]Action if no match found:[% nomatch_action %][% END %]
-
-
[% IF ( can_commit ) %]
- [% INCLUDE 'tools-item-action.inc' %] Changed. Reset[% ELSE %]Item processing:[% item_action %][% END %]
+
+ [% IF ( can_commit ) %]
+
+ [% INCLUDE 'tools-nomatch-action.inc' %] Changed. Reset
+ [% ELSE %]
+ Action if no match found:
+ [% IF ( nomatch_action == 'create_new' ) %]
+ Add incoming record
+ [% ELSIF ( nomatch_action == 'ignore' ) %]
+ Ignore incoming record (its items may still be processed)
+ [% ELSE %]
+ [% nomatch_action %]
+ [% END %]
+ [% END %]
+
+
+ [% IF ( record_type == 'biblio' ) %]
+
+ [% IF ( can_commit ) %]
+
+ [% INCLUDE 'tools-item-action.inc' %] Changed. Reset
+ [% ELSE %]
+ Item processing:
+ [% IF ( item_action == 'always_add' ) %]
+ Always add items
+ [% ELSIF ( item_action == 'add_only_for_matches' ) %]
+ Add items only if matching bib was found
+ [% ELSIF ( item_action == 'add_only_for_new' ) %]
+ Add items only if no matching bib was found
+ [% ELSIF ( item_action == 'ignore' ) %]
+ Ignore items
+ [% ELSE %]
+ [% item_action %]
+ [% END %]
+ [% END %]
+
+ [% END %]
[% IF ( can_commit ) %][% END %]
@@ -189,6 +349,7 @@ $(document).ready(function(){