[% FOR m IN messages %]
[% SWITCH m.code %]
[% CASE 'error_on_update' %]
An error occurred when updating this framework. Perhaps it already exists.
[% CASE 'error_on_insert' %]
An error occurred when adding this framework. The framework might already exist.
[% CASE 'error_on_delete' %]
An error occurred when deleting this framework. Check the logs.
[% CASE 'success_on_update' %]
Framework updated successfully.
[% CASE 'success_on_insert' %]
Framework added successfully.
[% CASE 'success_on_delete' %]
Framework deleted successfully.
[% CASE 'already_exists' %]
This framework code already exists.
[% CASE %]
[% m.code %]
[% END %]
[% END %]
[% IF op == 'list'%]
[% END %]
[% IF op == 'add_form' %]
[% IF framework %]Modify framework text[% ELSE %]Add framework[% END %]
[% END %]
[% IF op == 'delete_confirm' %]
Delete framework for [% framework.frameworktext %] ([% framework.frameworkcode %])?
[% IF biblios_use_this_framework %]
This framework is used [% biblios_use_this_framework %] times.
[% END %]
[% END %]
[% IF op == 'list' %]
MARC frameworks
Framework name, then go to MARC biblio to set MARC editor parameters
[% END %]