[% IF op == 'list' %]
[% END %]
[% IF messages %]
[% FOR message IN messages %]
[% IF message.code == 'insert' %]
[% IF message.number > 0 %]
Field created.
[% ELSE %]
The field could not be created. Perhaps the name already exists?
[% END %]
[% ELSIF message.code == 'update' %]
[% IF message.number > 0 %]
Field updated.
[% ELSE %]
The field could not be updated. Perhaps the name already exists?
[% END %]
[% ELSIF message.code == 'delete' %]
[% IF message.number > 0 %]
Field deleted.
[% ELSE %]
The field could not be deleted. Check the log for errors.
[% 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 | html %] |
[% field.authorised_value_category | html %] |
[% field.marcfield | html %] |
[% 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 %]