From 33a3fcc6007897f79c0895386cd50d2150a2edc7 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 10 Jan 2022 15:59:26 +0000 Subject: [PATCH] Bug 26795: (follow-up) Add markup comments This patch adds comments to the template to highlight the markup structure. This patch should have no effect on the page's appearance or functionality. https://bugs.koha-community.org/show_bug.cgi?id=26975 Signed-off-by: David Nind --- .../en/modules/authorities/authorities.tt | 47 +++++++++---------- 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt index 3b322f0340..71a935a5bc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt @@ -210,7 +210,7 @@ [% END %] - +
@@ -235,7 +235,7 @@
- [% END %] + [% END # /IF duplicateauthid %]
@@ -262,7 +262,7 @@ Cancel [% END %]
- +
    @@ -334,7 +334,7 @@ size="1" maxlength="1" value="[% innerloo.indicator2 | html %]" /> - [% END %] - + [% END # /IF ( innerloo.fixedfield ) %] - [% ELSE %] [% IF ( innerloo.fixedfield ) %] - [% END %] - [% END %] + [% END # /IF ( innerloo.fixedfield ) %] + [% END # /UNLESS hide_marc %] [% UNLESS advancedMARCEditor %] [% innerloo.tag_lib | html %] @@ -393,7 +393,7 @@ - [% END %] + [% END # /UNLESS hide_marc %] [% UNLESS advancedMARCEditor %] [% IF ( subfield_loo.mandatory ) %] @@ -408,8 +408,8 @@ [% END %] [% subfield_loo.marc_lib | $raw %] -
- [% END %] + + [% END # UNLESS advancedMARCEditor %] [% SET mv = subfield_loo.marc_value %]
@@ -439,8 +439,8 @@ [% ELSIF ( mv.type == 'hidden_simple' ) %] - [% END %] -
+ [% END # /IF mv.type %] + [% IF ( subfield_loo.mandatory ) %]
@@ -458,7 +458,7 @@ ... [% END %] [% mv.javascript | $raw %] - [% END %] + [% END #/IF ( mv.type == 'text1' ) %] [% IF ( subfield_loo.repeatable ) %] Clone @@ -466,19 +466,18 @@ Delete - [% END %] -
- - - [% END %] + [% END # /IF ( subfield_loo.repeatable ) %] + + + [% END # /FOREACH subfield_loo %] - - [% END %] - [% END %] + + [% END # /IF ( innerloo.tag ) %] + [% END # /FOREACH innerloo %] - - [% END %] - + + [% END #/FOREACH BIG_LOO %] +
[% FOREACH hidden_loo IN hidden_loop %] @@ -488,7 +487,7 @@ [% END %] -
+ [% IF ( oldauthnumtagfield ) %] -- 2.20.1