[% IF error %]
[% IF error == 'no_from_field' %]
Error: no field value specified.
[% END %]
[% END %]
[% IF ( TemplatesLoop ) %]
[% IF ( template_id == '' ) %]
MARC modification templates [% template_id %]
[% ELSE %]
Actions for [% template_name %]
[% IF ( ActionsLoop ) %]
Change order |
Order |
Action |
Description |
|
|
[% FOREACH ActionsLoo IN ActionsLoop %]
|
[% ActionsLoo.ordering %] |
[% IF ( ActionsLoo.action_delete_field ) %] Delete [% END %]
[% IF ( ActionsLoo.action_update_field ) %] Update [% 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 %][% IF ( ActionsLoo.from_subfield ) %]$[% ActionsLoo.from_subfield %][% END %]
[% IF ( ActionsLoo.field_value ) %]
with value [% ActionsLoo.field_value %]
[% END %]
[% IF ( ActionsLoo.to_field ) %]
to [% ActionsLoo.to_field %][% IF ( ActionsLoo.to_subfield ) %]$[% ActionsLoo.to_subfield %][% END %]
[% IF ( ActionsLoo.to_regex_search ) %]
using RegEx s/[% ActionsLoo.to_regex_search %]/[% ActionsLoo.to_regex_replace %]/[% ActionsLoo.to_regex_modifiers %]
[% END %]
[% END %]
[% IF ( ActionsLoo.conditional ) %]
[% IF ( ActionsLoo.conditional_if ) %] if [% END %]
[% IF ( ActionsLoo.conditional_unless ) %] unless [% END %]
[% ActionsLoo.conditional_field %][% IF ( ActionsLoo.conditional_subfield ) %]$[% ActionsLoo.conditional_subfield %][% 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 %]
[% IF ( ActionsLoo.conditional_regex ) %]/[% END %]
[% END %]
|
[% ActionsLoo.description %] |
Edit
|
Delete
|
[% END # /FOREACH ActionsLoo %]
[% ELSE %]
There are no defined actions for this template.
[% END # /IF ActionsLoop %]
[% END %]
[% ELSE %]
There are no defined templates. Please create a template first.
[% END # /IF TemplatesLoop %]