From 2ff0cc2947061b3512fc91c1d2367e8e20f76b26 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 12 Jan 2022 19:05:02 +0000 Subject: [PATCH] Bug 29867: (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. Signed-off-by: Lucas Gass --- .../en/modules/admin/authorised_values.tt | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt index 54bd6269d0..aa09e7603e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt @@ -75,9 +75,9 @@ Authorized values - [% END %] + [% END # /IF op == 'add_form' %] - +
@@ -143,7 +143,6 @@
Select 'All libraries' if this authorized value must be displayed all the time. Otherwise select libraries you want to associate with this value.
-
@@ -183,21 +182,22 @@ [% END %] - [% END %] + [% END # /FOREACH image %]
- [% END %] -
- [% END %] + [% END # /FOREACH imageset %] +
+ [% END # /IF action_add_category %] +
Cancel
- [% END %] + [% END # /IF op == 'add_form' %] [% IF op == 'list' %]
@@ -251,7 +251,7 @@ [% m.code | html %] [% END %]
- [% END %] + [% END # /FOR m IN messages %] [% IF ( searchfield ) %] @@ -268,7 +268,7 @@ [% END %]

- + [% IF loop %] @@ -308,14 +308,14 @@ [% END %] [% ELSE %] No limitation - [% END %] + [% END # /IF loo.branches.size > 0 %] [% END # /FOREACH loop %] -
Edit Delete
+ [% ELSE %]

There are no authorized values defined for [% category.category_name | html %]

@@ -332,7 +332,7 @@ [% END %]
- [% END %] + [% END # /IF loop %] [% ELSE # category was selected %] @@ -355,9 +355,9 @@ Add - [% END %] + [% END # /FOR c %] - + [% END # /IF ( searchfield )%] -- 2.20.1