From 7a185bc87b5e904128a07ee208ef66b5b12b51e9 Mon Sep 17 00:00:00 2001
From: Owen Leonard
Date: Mon, 23 Mar 2020 19:48:25 +0000
Subject: [PATCH] Bug 24886: (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 interface or functionality.
Signed-off-by: Bernardo Gonzalez Kriegel
Signed-off-by: Jonathan Druart
Signed-off-by: Martin Renvoize
---
.../modules/reports/guided_reports_start.tt | 88 +++++++++----------
1 file changed, 44 insertions(+), 44 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
index de395abbf1..fee6ecccd6 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
@@ -94,7 +94,7 @@
› Step 6 of 6: Select how you want the report ordered
[% END %]
[% END %]
-
+
@@ -154,7 +154,7 @@
- [% END %]
+ [% END # /IF (start) %]
[% IF report_converted %]
@@ -359,7 +359,7 @@
- [% ELSE %]
+ [% ELSE # IF ( savedreports ) %]
[% IF (filter_set || filters.date || filters.author || filters.keyword) %]
No saved reports match your criteria.
@@ -386,10 +386,10 @@
[% IF ( CAN_user_reports_create_reports ) %]
Build a new report?
[% END %]
- [% END %]
-
- [% END %]
- [% END %]
+ [% END # IF (filter_set || filters.date || filters.author || filters.keyword) %]
+
+ [% END # /IF ( savedreports ) %]
+ [% END # /IF ( saved1 ) %]
[% INCLUDE 'mana/mana-share-report.inc' %]
@@ -444,13 +444,13 @@
[% END %]
-
+
- [% END %]
+ [% END # /build1 %]
[% IF ( build2 ) %]
Build a report
@@ -478,7 +478,7 @@
- [% END %]
+ [% END # /IF (build2 ) %]
[% IF ( build3 ) %]
Build a report
@@ -519,21 +519,21 @@
-
+
-
+
-
- [% END %]
+
+ [% END # /IF ( build3 ) %]
[% IF ( build4 ) %]
Build a report
@@ -620,7 +620,7 @@
- [% END %]
+ [% END # /IF ( build4 ) %]
[% IF ( build5 ) %]
Build a report
@@ -658,7 +658,7 @@
- [% END %]
+ [% END # /IF ( build5 ) %]
[% IF ( build6 ) %]
Build a report
@@ -696,7 +696,7 @@
- [% END %]
+ [% END #/ IF ( build6 ) %]
[% IF ( showreport ) %]
Confirm custom report
@@ -715,7 +715,7 @@
- [% END %]
+ [% END #/ IF ( showreport ) %]
[% IF ( save ) %]
- [% END %]
+ [% END # /IF( save ) %]
[% IF ( warn_authval_problem ) %]
@@ -780,7 +780,7 @@
- [% END %]
+ [% END # /IF ( warn_authval_problem )%]
[% IF ( enter_params ) %]
- [% END %]
+ [% END # /IF ( enter_params ) %]
[% IF ( execute ) %]
[% name | html %]
@@ -978,7 +978,7 @@
- [% END %]
+ [% END # /IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %]
[% END # UNLESS ( errors ) %]
[% END # IF ( execute ) %]
@@ -1004,7 +1004,7 @@
[% END %]
[% END %]
-
+
[% pagination_bar | $raw %]
[% UNLESS ( errors ) %]
@@ -1026,7 +1026,7 @@
[% INCLUDE 'chart.inc' %]
- [% END %]
+ [% END #/IF ( execute ) %]
[% IF ( create ) %]
- [% END %]
+ [% END #/IF ( create ) %]
[% IF saved_results %]
Saved report results
@@ -1110,7 +1110,7 @@
[% END %]
- [% END %]
+ [% END # /IF saved_results %]
[% IF ( showsql ) %]
- [% END %]
+ [% END # /IF ( showsql ) %]
[% IF ( save_successful ) %]
[% UNLESS ( errors ) %]
@@ -1170,7 +1170,7 @@
- [% END %]
+ [% END # /IF (public) %]
[% IF (usecache) %]
@@ -1189,7 +1189,7 @@
-
+
- [% END %]
+ [% END # /IF ( editsql ) %]
[% IF ( errors ) %]
- [% END %]
+ [% END # /IF ( errors ) %]
@@ -1261,13 +1261,13 @@
-
+
-
+
[% END %]
[% INCLUDE 'guided-reports-view.inc' %]
--
2.39.5