[% USE raw %] [% USE JSON.Escape %] [% USE Asset %] [% USE TablesSettings %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] MARC modification templates › Tools › Koha [% INCLUDE 'doc-head-close.inc' %] [% FILTER collapse %] [% END %] [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] [% IF ( TemplatesLoop ) %] [% FOREACH TemplatesLoo IN TemplatesLoop %] [% IF ( TemplatesLoo.selected ) %] [% SET template_name = TemplatesLoo.name %] [% END %] [% END %] [% END %]
New template [% IF ( template_id != '' ) %] New action Delete template [% END %]
[% IF error %] [% IF error == 'no_from_field' %]
Error: no field value specified.
[% END %] [% END %] [% IF ( TemplatesLoop ) %] [% IF ( template_id == '' ) %]

MARC modification templates [% template_id | html %]

[% FOREACH TemplatesLoo IN TemplatesLoop %] [% END %]
Id Template Actions
[% TemplatesLoo.template_id | html %] [% TemplatesLoo.name | html %] Edit actions Duplicate Delete
[% ELSE %]

Actions for [% template_name | html %]

[% IF ( ActionsLoop ) %] [% FOREACH ActionsLoo IN ActionsLoop %] [% END # /FOREACH ActionsLoo %]
Change order Rank Action Description    
[% ActionsLoo.ordering | html %] [% IF ( ActionsLoo.action_delete_field ) %] Delete [% END %] [% IF ( ActionsLoo.action_add_field ) %] Add new [% END %] [% IF ( ActionsLoo.action_update_field ) %] Update existing or add new [% END %] [% IF ( ActionsLoo.action_move_field ) %] Move [% END %] [% IF ( ActionsLoo.action_copy_field ) %] Copy [% END %] [% IF ( ActionsLoo.action_copy_and_replace_field ) %] Copy and replace [% END %] [% UNLESS ( ActionsLoo.action_update_field ) %] [% IF ( ActionsLoo.field_number ) %] 1st [% END %] [% END %] field [% ActionsLoo.from_field | html %][% IF ( ActionsLoo.from_subfield.length ) %]$[% ActionsLoo.from_subfield | html %][% END %] [% IF ( ActionsLoo.field_value ) %] with value [% ActionsLoo.field_value | html %] [% END %] [% IF ( ActionsLoo.to_field ) %] to [% ActionsLoo.to_field | html %][% IF ( ActionsLoo.to_subfield.length ) %]$[% ActionsLoo.to_subfield | html %][% END %] [% IF ( ActionsLoo.to_regex_search ) %] using RegEx s/[% ActionsLoo.to_regex_search | html %]/[% ActionsLoo.to_regex_replace | html %]/[% ActionsLoo.to_regex_modifiers | html %] [% END %] [% END %] [% IF ( ActionsLoo.conditional ) %] [% IF ( ActionsLoo.conditional_if ) %] if [% END %] [% IF ( ActionsLoo.conditional_unless ) %] unless [% END %] [% ActionsLoo.conditional_field | html %][% IF ( ActionsLoo.conditional_subfield.length ) %]$[% ActionsLoo.conditional_subfield | html %][% END %] [% IF ( ActionsLoo.conditional_comparison_exists ) %] exists [% END %] [% IF ( ActionsLoo.conditional_comparison_not_exists ) %] does not exist [% END %] [% IF ( ActionsLoo.conditional_comparison_equals ) %] matches [% END %] [% IF ( ActionsLoo.conditional_comparison_not_equals ) %] does not match [% END %] [% IF ( ActionsLoo.conditional_regex ) %] RegEx m/[% END %][% ActionsLoo.conditional_value | html %][% IF ( ActionsLoo.conditional_regex ) %]/[% END %] [% END %] [% ActionsLoo.description | html %] Edit Delete
[% ELSE %]

There are no defined actions for this template.

[% END # /IF ActionsLoop %]
Add a new action
field(s)
Cancel
[% END %] [% ELSE %]

MARC modification templates

There are no defined templates. Please create a template first.

[% END # /IF TemplatesLoop %]
[% MACRO jsinclude BLOCK %] [% Asset.js("js/tools-menu.js") | $raw %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'columns_settings.inc' %] [% Asset.js("js/marc_modification_templates.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]