[% FOREACH message IN messages %]
[% IF message.type == 'success' %]
[% ELSIF message.type == 'warning' %]
[% ELSIF message.type == 'error' %]
[% END %]
[% IF message.code == 'no_action_defined_for_the_template' %]
The selected template (id=[% message.mmtid%]) does not exist or no action is defined.
[% ELSIF message.code == 'biblio_not_exists' %]
Bibliographic record [% message.biblionumber %] does not exist in the database.
[% ELSIF message.code == 'authority_not_exists' %]
Authority record [% message.authid %] does not exist in the database.
[% ELSIF message.code == 'biblio_not_modified' %]
Bibliographic record [% message.biblionumber %] has not been modified. An error occurred on modifying it.
[% ELSIF message.code == 'authority_not_modified' %]
Authority record [% message.authid %] has not been modified. An error occurred on modifying it.
[% ELSIF message.code == 'biblio_modified' %]
Bibliographic record [% message.biblionumber %] has successfully been modified.
[% ELSIF message.code == 'authority_modified' %]
Bibliographic record [% message.authid %] has successfully been modified.
[% END %]
[% IF message.error %]
(The error was: [% message.error%]. See the Koha logfile for more information).
[% END %]
[% END %]
[% END %]
[% IF view == 'form' %]
[% ELSIF view == 'list' %]
[% IF records %]
[% ELSE %]