+
+ [% IF op == 'list' %]
+
+ [% END %]
+
+ [% IF messages %]
+ [% FOR message IN messages %]
+ [% IF message.code == 'insert' %]
+ [% IF message.number > 0 %]
+
The field has been inserted
+ [% ELSE %]
+
The field has not been inserted (name still exist?)
+ [% END %]
+ [% ELSIF message.code == 'update' %]
+ [% IF message.number > 0 %]
+
The field has been updated
+ [% ELSE %]
+
The field has not been updated (name still exist?)
+ [% END %]
+ [% ELSIF message.code == 'delete' %]
+ [% IF message.number > 0 %]
+
The field has been deleted
+ [% ELSE %]
+
The field has not been deleted
+ [% END %]
+ [% END %]
+ [% END %]
+ [% END %]
+
+ [% IF op == 'list' %]
+
Additional fields for subscriptions
+ [% IF fields %]
+
+
+
+ Name |
+ Authorised value category |
+ Marc field |
+ Searchable |
+ Actions |
+
+
+
+ [% FOR field IN fields %]
+
+ [% field.name %] |
+ [% field.authorised_value_category %] |
+ [% field.marcfield %] |
+
+ [% IF field.searchable %]Yes[% ELSE %]No[% END %]
+ |
+
+ Edit
+ Delete
+ |
+
+ [% END %]
+
+
+ [% ELSE %]
+ There is no field defined.
+ [% END %]
+ [% ELSIF op == 'add_form' %]
+ [% IF field %]
+
Modify field
+ [% ELSE %]
+
Add field
+ [% END %]
+
+ [% END %]
+
+
+