[Koha-patches] [PATCH] Bug 2889: Adds highlighting to guided reports.

Garry Collum gcollum at gmail.com
Sun Jul 4 00:09:37 CEST 2010


Adds highlighting to guided reports and fixes a display issue with the pagination links in the reports.
---
 .../en/modules/reports/guided_reports_start.tmpl   |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tmpl
index 7a24859..222526d 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tmpl
@@ -437,13 +437,13 @@ NAME="name" -->"><!-- TMPL_VAR NAME="name"--></label></td><td>
 <h1><!-- TMPL_VAR NAME="name" --></h1>
 <!-- TMPL_IF NAME="notes" --><p><!-- TMPL_VAR NAME="notes" --></p><!-- /TMPL_IF -->
 <!-- TMPL_IF NAME="unlimited_total" --><p>Total number of rows matching the (unlimited) query is <!-- TMPL_VAR NAME="unlimited_total" -->.</p><!-- /TMPL_IF -->
-<!-- TMPL_VAR name="sql" -->
-<!-- TMPL_VAR NAME='pagination_bar' DEFAULT="" -->
+<p><!-- TMPL_VAR name="sql" --></p>
+<p><!-- TMPL_VAR NAME='pagination_bar' DEFAULT="" --></p>
 <!-- TMPL_UNLESS name="errors" -->
 <table>
 <tr><!-- TMPL_LOOP NAME="header_row" --><th><!-- TMPL_VAR NAME="cell" --></th><!-- /TMPL_LOOP --></tr>
 <!-- TMPL_LOOP NAME="results" -->
-<tr>
+<!-- TMPL_UNLESS NAME="__odd__" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_UNLESS -->
     <!-- TMPL_LOOP NAME="cells" --><td><!-- TMPL_VAR NAME="cell" --></td><!-- /TMPL_LOOP -->
 </tr>
 <!-- /TMPL_LOOP -->
-- 
1.5.6.5



More information about the Koha-patches mailing list