[% USE raw %] [% 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 -%] [% 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. [% IF loo.repeatable %] [% ELSE %] [% END %]
  5. [% IF loo.mandatory %] [% ELSE %] [% END %]
  6. [% IF loo.important %] [% ELSE %] [% END %]
  7. Ignore means that the subfield does not display in the record editor
Advanced constraints
  1. [% IF loo.hidden_protected %] [% ELSE %] [% END %]
  2. [% IF loo.isurl %] [% ELSE %] [% END %]
    If checked, it means that the subfield is a URL and can be clicked
  3. An index name, e.g. title or Local-Number
Other options (choose one)
[% END # /FOREACH loo %]
Cancel
[% END # /IF ( add_form ) %] [% IF ( delete_confirm ) %]

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

Subfield: [% tagsubfield | html %]

Description: [% liblibrarian | html_entity %]

[% END # /IF ( delete_confirm ) %] [% IF ( delete_confirmed ) %]

Data deleted

[% END %] [% 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 %]
Subfield Text Constraints Actions
[% 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.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 %] [% INCLUDE 'datatables.inc' %] [% Asset.js("js/admin-menu.js") | $raw %] [% Asset.js("js/marc_subfields_structure.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]