X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Fserials%2Fadd_fields.tt;h=9087712f36cfeea40d0a7161d69c30c9416c424a;hb=9ff997eda7582dbb68d599ab1436b162dd1559da;hp=0f0a841a353f5864d5cbf7130e5b781fd14f4fb9;hpb=bb417b256b319d8a99ea611b76bad80c4d47004c;p=koha.git diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt index 0f0a841a35..9087712f36 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt @@ -1,3 +1,7 @@ +[% USE raw %] +[% USE Asset %] +[% USE AuthorisedValues %] +[% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Serials › Manage new fields for subscriptions [% IF op == "list" %] › List of fields @@ -8,36 +12,6 @@ [% END %] [% INCLUDE 'doc-head-close.inc' %] - -[% INCLUDE "datatables.inc" %] - @@ -48,13 +22,14 @@ HomeSerials › Manage new fields for subscriptions -
-
-
-
+
+
+
+
+ [% IF op == 'list' %] [% END %] @@ -62,21 +37,21 @@ [% FOR message IN messages %] [% IF message.code == 'insert' %] [% IF message.number > 0 %] -
The field has been inserted
+
Field created.
[% ELSE %] -
The field has not been inserted (name still exist?)
+
The field could not be created. Perhaps the name already exists?
[% END %] [% ELSIF message.code == 'update' %] [% IF message.number > 0 %] -
The field has been updated
+
Field updated.
[% ELSE %] -
The field has not been updated (name still exist?)
+
The field could not be updated. Perhaps the name already exists?
[% END %] [% ELSIF message.code == 'delete' %] [% IF message.number > 0 %] -
The field has been deleted
+
Field deleted.
[% ELSE %] -
The field has not been deleted
+
The field could not be deleted. Check the log for errors.
[% END %] [% END %] [% END %] @@ -98,15 +73,15 @@ [% FOR field IN fields %] - [% field.name %] - [% field.authorised_value_category %] - [% field.marcfield %] + [% field.name | html %] + [% field.authorised_value_category | html %] + [% field.marcfield | html %] [% IF field.searchable %]Yes[% ELSE %]No[% END %] - - Edit - Delete + + Edit + Delete [% END %] @@ -126,24 +101,19 @@
  1. - + + Required
  2. - - [% FOR category IN categories %] - [% IF field.authorised_value_category == category %] - - [% ELSE %] - - [% END %] - [% END %] + [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => field.authorised_value_category ) %]
  3. - +
  4. @@ -157,7 +127,7 @@
    [% IF field %] - + [% END %] @@ -166,11 +136,43 @@ [% END %] -
-
+ +
+ +
+ +
+
+ +[% MACRO jsinclude BLOCK %] + [% INCLUDE "datatables.inc" %] + +[% END %] -
-[% INCLUDE 'serials-menu.inc' %] -
-
[% INCLUDE 'intranet-bottom.inc' %]