Merging records
[% IF ( errors ) %] [% FOREACH error IN errors %]
[% IF error.code == 'WRONG_COUNT' %]
Number of records provided for merging: [% error.value %]. Currently only 2 records can be merged at a time.
[% ELSIF error.code == 'DESTRUCTIVE_MERGE' %]
You cannot merge a record with itself. Please select two different authorities.
[% ELSIF error.code == 'WRONG_FRAMEWORK' %]
The Default framework cannot be used, or the framework does not exist. Please select another framework for merging.
[% ELSIF error.code == 'EMPTY_MARC' %]
Sorry, but we did not find any MARC tags in the reference record.
[% ELSIF error.code == 'MISSING_RECORD' %]
Sorry, but we did not find a record for number: [% error.value %].
[% ELSE %]
[% error %]
[% END %]
[% END %]
[% ELSIF ( result ) %]
The merging was successful. Click here to see the merged record.
[% ELSIF ( choosereference ) %]Please choose which record will be the reference for the merge. The record chosen as reference will be kept, and the other will be deleted.
[% ELSE %] [% END %]