From fb7b258ec2220fcf6a86d49132b0224175f0a344 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 22 Aug 2011 23:25:37 +0200 Subject: [PATCH] Bug 6458: Incorrect translation processing / 3x reports/... Patch removes template directives from within HTML tags from - Reports > Guided Reports - Reports > Items with no checkouts - Reports > Patron statistics Signed-off-by: Owen Leonard Signed-off-by: Chris Cormack --- .../prog/en/modules/reports/borrowers_stats.tt | 6 ++++-- .../intranet-tmpl/prog/en/modules/reports/catalogue_out.tt | 3 ++- .../prog/en/modules/reports/guided_reports_start.tt | 5 ++++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt index 78f927bd5e..4d3bba2030 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt @@ -40,7 +40,8 @@ TOTAL [% FOREACH loopro IN mainloo.looprow %] - + [% UNLESS ( loop.odd ) %] + [% ELSE %][% END %] [% IF ( loopro.rowtitle_display ) %][% loopro.rowtitle_display %][% ELSE %][% loopro.rowtitle %][% END %] [% FOREACH loopcel IN loopro.loopcell %] @@ -236,7 +237,8 @@ [% END %] [% IF ( SORT2_LOOP ) %] - + [% UNLESS ( SORT1_LOOP ) %] + [% ELSE %][% END %] Sort2 diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt index 404892d90c..48ad8a36fe 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt @@ -65,7 +65,8 @@ [% IF ( looptable.looprow ) %] [% FOREACH loopro IN looptable.looprow %] - + [% UNLESS ( loop.odd ) %] + [% ELSE %][% END %] [% loop.count %] [% DEFAULT loopro.itemcallnumber="No Call Number" %] [% DEFAULT loopro.barcode="No Barcode" %] 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 0449c84a0d..487f9a2284 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 @@ -540,7 +540,10 @@ canned reports and writing custom SQL reports.

Create Report From SQL
    -
  1. +
  2. + [% IF ( reportname ) %] + [% ELSE %][% END %] +