From 210c62ad8c75a35fe63d1a564f4bb02f6f4b35d1 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 14 Sep 2020 15:21:55 +0000 Subject: [PATCH] Bug 26456: (follow-up) Add markup comments This patch adds comments to the template to highlight the markup structure. Also changed: Some form hints have been wrapped in
to make it consistent with other pages. This patch should have no effect on functionality. Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- .../modules/admin/marc_subfields_structure.tt | 41 ++++++++++--------- 1 file changed, 21 insertions(+), 20 deletions(-) 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 80c062d5d2..d58b224451 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 @@ -35,7 +35,7 @@ HomeAdministrationMARC frameworks › - + [% IF ( frameworkcode ) %][% frameworkcode | html %][% ELSE %]Default[% END %] framework structure › [% IF ( add_form ) %] @@ -56,7 +56,7 @@ [% IF ( else ) %] Tag [% tagfield | html %] Subfield structure [% END %] -
+
@@ -159,11 +159,11 @@ [%- END -%] - (ignore means that the subfield does not display in the record editor) +
Ignore means that the subfield does not display in the record editor
- -
+ +
@@ -202,12 +202,12 @@ [% ELSE %] [% END %] - (if checked, it means that the subfield is a URL and can be clicked) +
If checked, it means that the subfield is a URL and can be clicked
  • - (an index name, e.g. title or Local-Number) +
    An index name, e.g. title or Local-Number
  • @@ -225,10 +225,10 @@
  • -
    -
    + + -
    +
    Other options (choose one)
      @@ -270,17 +270,17 @@
    -
    -
    -
    - [% END %] - + + + + [% END # /FOREACH loo %] +
    Cancel
    - [% END %] + [% END # /IF ( add_form ) %] [% IF ( delete_confirm ) %]
    @@ -304,8 +304,8 @@ -
    - [% END %] + + [% END # /IF ( delete_confirm ) %] [% IF ( delete_confirmed ) %]

    Data deleted

    @@ -317,6 +317,7 @@ [% 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.

    @@ -365,7 +366,7 @@ [% END %] - +
    @@ -376,7 +377,7 @@
    - [% END %] + [% END # /IF else %] -- 2.39.5