From 4fc68c8224aeab3c5653998068051e885f28bbf4 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 Signed-off-by: Jonathan Druart --- .../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 bc88fa87d8b..23c4d3186fc 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 @@ -76,9 +76,9 @@ Authorized values - [% END %] + [% END # /IF op == 'add_form' %] - +
@@ -144,7 +144,6 @@
Select 'All libraries' if this authorized value must be displayed all the time. Otherwise select libraries you want to associate with this value.
-
@@ -184,21 +183,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' %]
@@ -252,7 +252,7 @@ [% m.code | html %] [% END %]
- [% END %] + [% END # /FOR m IN messages %] [% IF ( searchfield ) %] @@ -269,7 +269,7 @@ [% END %]

- + [% IF loop %] @@ -309,14 +309,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 %]

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