From ca18112f919153552fe4dcbaad39414589a575fa Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 6 Nov 2020 18:29:56 +0000 Subject: [PATCH] Bug 26959: (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. --- .../prog/en/modules/tools/batchMod-edit.tt | 44 +++++++++++----------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt index 4b42789a3d..34ce11735c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt @@ -96,9 +96,9 @@ [% ELSE %] Return to batch item modification [% END %] - - - [% END %] + + + [% END # /IF show %] [% IF ( barcode_not_unique ) %]
@@ -132,7 +132,7 @@

The following barcodes were found:

[% END %] [% END %] - [% END %] + [% END # /IF notfoundbarcodes.size %] [% IF ( notfounditemnumbers.size ) %]
@@ -154,7 +154,7 @@

The following itemnumbers were found:

[% END %] [% END %] - [% END %] + [% END # /IF notfounditemnumbers.size %]
@@ -194,7 +194,7 @@ [% END %] -

+

@@ -242,7 +242,7 @@ [% ELSE %] [% END %] - [% END %] + [% END # /IF item_loo.holds %] [% IF item_loo.holds %] [% item_loo.item_holds | html %]/[% item_loo.holds | html %] [% ELSE %] @@ -256,11 +256,11 @@ [% END %] - [% END %] + [% END # /FOREACH item_loo %] -
-
- [% END %] + +
+ [% END # /IF item_loop %] [% IF ( simple_items_display || job_completed ) %] [% IF ( too_many_items_display ) %] @@ -274,8 +274,8 @@ [% END %] - [% END %] - [% END %] + [% END # /IF too_many_items_display %] + [% END # /IF simple_items_display %] [% IF ( show ) %] @@ -286,7 +286,7 @@ [% FOREACH itemnumber IN itemnumbers_array %] [% END %] - [% END %] + [% END # /IF too_many_items_process %] [% UNLESS (too_many_items_process) %]
@@ -334,7 +334,7 @@ [% ELSIF ( mv.type == 'textarea' ) %] - [%- END -%] + [%- END # /IF mv.type == ... -%] s// @@ -361,9 +361,9 @@ [% END %] -
+ - [% END %] + [% END # /FOREACH ite %] @@ -391,11 +391,11 @@ Cancel - + [% ELSE %]

Return to batch item modification

- [% END %] - [% ELSE %] + [% END # /UNLESS too_many_items_process %] + [% ELSE # IF show %]
[% IF src == 'CATALOGUING' # from catalogue/detail.pl > Edit items in a batch%] [% IF searchid %] @@ -408,7 +408,7 @@ [% ELSE %] Return to batch item modification [% END %] -
- [% END %] + + [% END #/IF show %] [% INCLUDE 'intranet-bottom.inc' %] -- 2.11.0