[% USE raw %] [% USE Asset %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] [%- 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. [% 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 [% mss.tagsubfield | html %]?

Subfield: [% mss.tagsubfield | html %]

Description: [% mss.liblibrarian | html_entity %]

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