From 0cb11729fbd50459f1d540d0a7fbee903bd2d6b7 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 --- .../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 6d5a1357ca..8375a5b194 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 %]
- +
- [% 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