[% USE raw %] [% USE Asset %] [% PROCESS 'i18n.inc' %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] [% FILTER collapse %] [% IF ( add_form ) %] [% t("Edit subfields constraints") | html %] › [% END %] [% IF ( delete_confirm ) %] [% tx("Confirm deletion of subfield '{subfield}'", {subfield = ass.tagsubfield }) | html %] › [% END %] [% IF ( add_form || delete_confirm || else ) %] [% tx("Tag {tag}", { tag = tagfield}) | html %] › [% END %] [% IF ( authtypecode ) %] [% tx("'{authtypecode}' framework", { authtypecode = authtypecode }) | html %] [% ELSE %] [% t("Default framework") | html %] [% END %] › [% t("Authority types") | html %] › [% t("Administration") | html %] › [% t("Koha") | html %] [% END %] [% INCLUDE 'doc-head-close.inc' %] [% WRAPPER 'header.inc' %] [% INCLUDE 'prefs-admin-search.inc' %] [% END %] [% WRAPPER 'sub-header.inc' %] [% WRAPPER breadcrumbs %] [% WRAPPER breadcrumb_item %] Administration [% END %] [% WRAPPER breadcrumb_item %] Authority types [% END %] [% IF ( authtypecode ) %] [% WRAPPER breadcrumb_item %] [% tx("'{authtypecode}' framework", { authtypecode = authtypecode }) | html %] [% END %] [% ELSE %] [% WRAPPER breadcrumb_item %] Default framework [% END %] [% END %] [% IF ( else ) %] [% WRAPPER breadcrumb_item bc_active= 1 %] [% tx("Tag {tag}", { tag = tagfield}) | html %] [% END %] [% ELSE %] [% WRAPPER breadcrumb_item %] [% tx("Tag {tag}", { tag = tagfield}) | html %] [% END %] [% END %] [% IF ( delete_confirm ) %] [% WRAPPER breadcrumb_item bc_active= 1 %] [% tx("Confirm deletion of subfield '{tagsubfield}'", { tagsubfield = ass.tagsubfield }) | html %] [% END %] [% END %] [% IF ( add_form ) %] [% IF ( use_heading_flags_p ) %] [% IF ( heading_edit_subfields_p ) %] [% WRAPPER breadcrumb_item bc_active= 1 %] Edit subfields constraints [% END %] [% END %] [% ELSE %] [% WRAPPER breadcrumb_item bc_active= 1 %] [% action | html %] [% END %] [% END %] [% END %] [% END #/ WRAPPER breadcrumbs %] [% END #/ WRAPPER sub-header.inc %]
[% INCLUDE 'messages.inc' %] [% IF ( add_form ) %]

[% IF ( use_heading_flags_p ) %] [% IF ( heading_edit_subfields_p ) %]Edit MARC subfields constraints for field [% tagfield | html %] authority [% authtypecode | html %][% END %] [% ELSE %][% action | html %][% END %]

You can drag and drop the subfield tabs to change the order.
[% INCLUDE 'csrf-token.inc' %]
Cancel
[% BLOCK outputsubfield %][% FILTER collapse %] [% SWITCH ( subfieldanchor ) %] [% CASE "@" %] AT [% CASE "%" %] % [% CASE %] [% subfieldanchor | html %] [% END %] [% END %][% END %]
[% FOREACH loo IN loop %]
    [% IF ( loo.new_subfield ) %]
  1. [% ELSE %]
  2. [% END %]
  3. [% IF loo.repeatable %] [% ELSE %] [% END %]
  4. [% IF loo.mandatory %] [% ELSE %] [% END %]
  5. Ignore means that the subfield does not display in the record editor and that its value, if any, is deleted from the record
  6. Display
  7. Advanced constraints:
    1. [% IF loo.isurl %] [% ELSE %] [% END %] If checked, it means that the subfield is a URL and can be clicked.
  8. Help input

[% END %]
[% END %] [% IF ( delete_confirm ) %]

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

[% INCLUDE 'csrf-token.inc' %]
Subfield: [% ass.tagsubfield | html %]
Description: [% ass.liblibrarian | html_entity %]
[% END %] [% IF ( else ) %]

Authority MARC subfield structure admin for [% tagfield | html %] (authority: [% authtypecode | html %])

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 Description Constraints  
[% loo.tagsubfield | html %] [% IF loo.tab == -1 %] [% loo.liblibrarian | html_entity %] [% ELSE %] [% loo.liblibrarian | html_entity %] [% END %] [% IF loo.subfield_ignored == -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.hidden ) %]hidden, [% END %] [% IF ( loo.isurl ) %]is a URL, [% END %] [% IF ( loo.authorised_value ) %] | Auth value:[% loo.authorised_value | html %], [% END %] [% IF ( loo.frameworkcode ) %] | Authority:[% loo.frameworkcode | html %], [% END %] [% IF ( loo.value_builder ) %] | Plugin:[% loo.value_builder | html %],[% END %] [% END %] Edit Delete
Cancel
[% END %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] [% Asset.js( "lib/sortable/Sortable.min.js" ) | $raw %] [% Asset.js("js/admin-menu.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]