X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;ds=sidebyside;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Fadmin%2Fmarc_subfields_structure.tt;h=c47840ba8ecd491231033cafb4e0e3eb6f738f0e;hb=5e615b76a9681143133e869c8448d332c0cbaa8e;hp=9a0c38896ce9d040a70ad7c441388a2fd5634703;hpb=b8c1198a79fbfbbda367accd23ddec27e0e6399d;p=koha-ffzg.git diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt index 9a0c38896c..c47840ba8e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt @@ -2,325 +2,458 @@ [% USE Asset %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Administration ›[% IF ( add_form ) %][% IF ( use_heading_flags_p ) %][% IF ( heading_edit_subfields_p ) %] MARC subfield structure › Edit MARC subfields constraints[% END %][% ELSE %] MARC subfield structure › [% action | html %][% END %][% END %] -[% IF ( delete_confirm ) %] MARC subfield structure › Confirm deletion of subfield [% tagsubfield | html %][% END %][% IF ( delete_confirmed ) %] MARC subfield structure › Subfield deleted[% END %][% IF ( else ) %]MARC subfield structure[% END %] + + [%- IF ( add_form ) -%] + [%- IF ( use_heading_flags_p ) -%] + [%- IF ( heading_edit_subfields_p ) -%] + Edit MARC subfields constraints › MARC subfield structure + [%- END -%] + + [%- ELSE -%] + [%- action | html -%] › MARC subfield structure + [%- END -%] + + [%- END -%] + + [%- IF ( delete_confirm ) -%] + + MARC subfield structure › Confirm deletion of subfield [%- mss.tagsubfield | html -%] + + Confirm deletion of subfield [%- tagsubfield | html -%] › MARC subfield structure + [%- END -%] + + [%- IF ( delete_confirmed ) -%] + Subfield deleted › MARC subfield structure + + [%- END -%] + + [%- IF ( else ) -%] + MARC subfield structure + [%- END -%] › Administration › Koha + [% INCLUDE 'doc-head-close.inc' %] + -[% INCLUDE 'header.inc' %] -[% INCLUDE 'prefs-admin-search.inc' %] - - - -
-
-
-
- -[% IF ( add_form ) %] -

- [% IF ( use_heading_flags_p ) %] - [% IF ( heading_edit_subfields_p ) %]Tag [% tagfield | html %] Subfield constraints[% END %] - [% ELSE %] - [% action | html %] - [% END %] -

-
- - - -
- - - [% FOREACH loo IN loop %] -
- -

Basic constraints

-
-
-
    - [% IF ( subfieldcode == 0 || subfieldcode ) %] -
  1. Subfield code: [% loo.subfieldcode | html %]
  2. - [% ELSE %] -
  3. - [% END %] -
  4. -
  5. + + [% WRAPPER 'sub-header.inc' %] +
-
- - -

Advanced constraints

-
-
-
  1. -
  2. -
  3. (see online help)
  4. -
  5. - - - - - - - - - - - + [% END %] + [% ELSE %] +
  6. + Tag [% tagfield | html %] Subfield structure +
  7. +
  8. + + [% action | html %] + +
  9. + [% END %] + [% END %] + + [% IF ( delete_confirm ) %] +
  10. + Tag [% mss.tagfield | html %] Subfield structure
  11. - - [% IF loo.isurl %] - - [% ELSE %] - - [% END %] - (if checked, it means that the subfield is a URL and can be clicked) + + Confirm deletion of subfield [% mss.tagsubfield | html %] +
  12. -
  13. (e.g., Title or Local-Number) NOTE: If you change this value you must ask your administrator to run misc/batchRebuildBiblioTables.pl.
  14. + [% END %] + + [% IF ( else ) %]
  15. - - - - - + + Tag [% tagfield | html %] Subfield structure +
  16. -
-
-
-

Other options (choose one)

-
-
-
    -
  1. - - -
  2. -
  3. - - + + + + [% BLOCK outputsubfield %][% FILTER collapse %] + [% SWITCH ( subfieldanchor ) %] + [% CASE "@" %] + AT + [% CASE "%" %] + % + [% CASE %] + [% subfieldanchor | html %] [% END %] - -
  4. -
  5. - - -
  6. -
-
-
-
- [% END %] -
-
- Cancel -
-
-[% END %] + -[% IF ( delete_confirm ) %] +
-
-

Confirm deletion of subfield [% tagsubfield | html %]?

-

Subfield: [% tagsubfield | html %]

-

Description: [% liblibrarian | html_entity %]

+ [% FOREACH loo IN loop %] +
+ +
+
+ Basic constraints +
    + [% IF ( loo.subfieldcode == 0 || loo.subfieldcode ) %] +
  1. + Subfield code: + [% loo.subfieldcode | html %] + +
  2. + [% ELSE %] +
  3. + + +
  4. + [% END %] +
  5. + + +
  6. +
  7. + + +
  8. +
  9. + + [% IF loo.repeatable %] + + [% ELSE %] + + [% END %] +
  10. +
  11. + + [% IF loo.mandatory %] + + [% ELSE %] + + [% END %] +
  12. +
  13. + + [% IF loo.important %] + + [% ELSE %] + + [% END %] +
  14. +
  15. + +
    Ignore means that the subfield does not display in the record editor
    +
  16. +
+
+
-
- - - - - -
+
+
+ Advanced constraints +
    +
  1. + + +
  2. +
  3. + + +
  4. +
  5. + [% IF loo.hidden_protected %] + + [% ELSE %] + + [% END %] + + + + + + + + + + + +
  6. +
  7. + + [% IF loo.isurl %] + + [% ELSE %] + + [% END %] + If checked, it means that the subfield is a URL and can be clicked +
  8. +
  9. + + +
    An index name, e.g. title or Local-Number
    +
  10. +
  11. + + + + + +
  12. +
+
+
+
+
+ Other options (choose one) +
    +
  1. + + +
  2. +
  3. + + +
  4. +
  5. + + +
  6. +
+
+
+
+ [% END # /FOREACH loo %] +
+
-
- - - - - -
-
+
+ Cancel +
+ + [% END # /IF ( add_form ) %] -[% END %] + [% IF ( delete_confirm ) %] +
+

Confirm deletion of subfield [% mss.tagsubfield | html %]?

+

Subfield: [% mss.tagsubfield | html %]

+

Description: [% mss.liblibrarian | html_entity %]

-[% IF ( delete_confirmed ) %] +
+ + + + +
-

Data deleted

-
- - -
-[% END %] +
+ + + + +
+
+ [% END # /IF ( delete_confirm ) %] -[% IF ( else ) %] -

MARC subfield structure admin for [% tagfield | html %] [% IF ( frameworkcode ) %](framework [% frameworkcode | html %])[% ELSE %](default framework)[% END %]

-

This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit.

-

The column 'Koha field' shows that the subfield is linked with a Koha field.

- - - - - - - - -[% FOREACH loo IN loop %] - - - - - - -[% END %] -
SubfieldTextConstraintsActions
[% loo.tagsubfield | html %] - [% IF ( loo.subfield_ignored ) %] - [% loo.liblibrarian | html_entity %] - [% ELSE %] - [% loo.liblibrarian | html_entity %] - [% END %] - - [% IF ( loo.subfield_ignored ) %] - subfield ignored - [% ELSE %] - Tab:[% loo.tab | html %], - [% IF ( loo.kohafield ) %] | Koha field: [% loo.kohafield | html %], [% END %] - [% IF ( loo.repeatable ) %]Repeatable, [% ELSE %]Not repeatable,[% END %] - [% IF ( loo.mandatory ) %]Mandatory, [% ELSE %]Not mandatory,[% END %] - [% IF ( loo.seealso ) %] | See Also: [% loo.seealso | html %],[% END %] - [% IF ( loo.hidden ) %]hidden,[% END %] - [% IF ( loo.isurl ) %]is a URL,[% END %] - [% IF ( loo.authorised_value ) %] | Auth value:[% loo.authorised_value | html %],[% END %] - [% IF ( loo.authtypecode ) %] | Authority:[% loo.authtypecode | html %],[% END %] - [% IF ( loo.value_builder ) %] | Plugin:[% loo.value_builder | html %],[% END %] - [% IF ( loo.link ) %] | Link:[% loo.link | html %],[% END %] - [% END %] - - Edit - Delete -
+ [% IF ( else ) %] +

MARC subfield structure admin for [% tagfield | html %] [% IF ( frameworkcode ) %](framework [% frameworkcode | html %])[% ELSE %](default framework)[% END %]

-
-
- - - - Cancel -
-
+

This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit.

+

The column 'Koha field' shows that the subfield is linked with a Koha field.

-[% END %] + + + + + + + + + + + [% FOREACH loo IN loop %] + + + + + + + [% END %] + +
SubfieldTextConstraintsActions
[% loo.tagsubfield | html %] + [% IF loo.tab == -1 %] + [% loo.liblibrarian | html_entity %] + [% ELSE %] + [% loo.liblibrarian | html_entity %] + [% END %] + + [% IF loo.tab == -1 %] + subfield ignored + [% ELSE %] + Tab:[% loo.tab | html %], + [% IF ( loo.kohafield ) %] | Koha field: [% loo.kohafield | html %], [% END %] + [% IF ( loo.repeatable ) %]Repeatable, [% ELSE %]Not repeatable,[% END %] + [% IF ( loo.mandatory ) %]Mandatory, [% ELSE %]Not mandatory,[% END %] + [% IF ( loo.important ) %]Important, [% ELSE %]Not important,[% END %] + [% IF ( loo.seealso ) %] | See also: [% loo.seealso | html %],[% END %] + [% IF ( loo.hidden ) %]hidden,[% END %] + [% IF ( loo.isurl ) %]is a URL,[% END %] + [% IF ( loo.authorised_value ) %] | Auth value:[% loo.authorised_value | html %],[% END %] + [% IF ( loo.authtypecode ) %] | Authority:[% loo.authtypecode | html %],[% END %] + [% IF ( loo.value_builder ) %] | Plugin:[% loo.value_builder | html %],[% END %] + [% IF ( loo.link ) %] | Link:[% loo.link | html %],[% END %] + [% END %] + + Edit + Delete +
- -
+
+
+ + + + Cancel +
+
-
- -
-
+ [% END # /IF else %] -[% MACRO jsinclude BLOCK %] - [% Asset.js("js/admin-menu.js") | $raw %] - [% Asset.js("js/marc_subfields_structure.js") | $raw %] -[% END %] -[% INCLUDE 'intranet-bottom.inc' %] + + + +
+ +
+ + + [% MACRO jsinclude BLOCK %] + [% INCLUDE 'datatables.inc' %] + [% Asset.js("js/admin-menu.js") | $raw %] + + [% Asset.js("js/marc_subfields_structure.js") | $raw %] + [% END %] + + [% INCLUDE 'intranet-bottom.inc' %]