[% USE raw %] [% USE Asset %] [% SET footerjs = 1 %] [% USE Koha %] [% USE KohaSpan %] [% INCLUDE 'doc-head-open.inc' %] MARC overlay rules › Koha › Administration [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %]

Manage MARC overlay rules

[% FOR m IN messages %]
[% SWITCH m.code %] [% CASE 'invalid_tag_regexp' %] Invalid regular expression "[% m.tag | html %]". [% CASE 'invalid_control_field_actions' %] Invalid combination of actions for tag [% m.tag | html %]. Control field rules do not allow "Appended: Append" and "Removed: Skip". [% CASE %] [% m.code | html %] [% END %]
[% END %] [% UNLESS Koha.Preference( 'MARCOverlayRules' ) %] [% SET pref_MARCOverlayRules_link = 'MARCOverlayRules' %]
The [% pref_MARCOverlayRules_link | $raw | $KohaSpan %] preference is not set, don't forget to enable it for rules to take effect.
[% END %] [% IF removeConfirm %]

Remove rule?

Are you sure you want to remove the selected rule(s)?

[% END %]
[% UNLESS edit %] [% END %] [% FOREACH rule IN rules %] [% IF rule.edit %] [% ELSE %] [% END %] [% END %]
Rule Module Filter Tag Preset Added Appended Removed Deleted Actions  
 
[% rule.id | html %] [% rule.id | html %] [% rule.module | html %] [% rule.filter | html %] [% rule.tag | html %] [% IF rule.add %]Add[% ELSE %]Skip[% END %] [% IF rule.append %]Append[% ELSE %]Skip[% END %] [% IF rule.remove %]Remove[% ELSE %]Skip[% END %] [% IF rule.delete %]Delete[% ELSE %]Skip[% END %] Delete Edit [% IF rule.removemarked %] [% ELSE %] [% END %]
[% MACRO jsinclude BLOCK %] [% Asset.js("js/admin-menu.js") | $raw %] [% INCLUDE 'datatables.inc' %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]