Bugzilla – Attachment 913 Details for
Bug 2889
templates should not use [% IF ( loop.odd ) %]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for dictionary.tmpl
0012-Bug-2889-Added-zebra-striping-to-the-table-in-dicti.patch (text/plain), 1.97 KB, created by
Chris Cormack
on 2009-10-13 00:23:00 UTC
(
hide
)
Description:
Patch for dictionary.tmpl
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2009-10-13 00:23:00 UTC
Size:
1.97 KB
patch
obsolete
>From 572ffaccbe9aa6901d4c7050d2a537f368151379 Mon Sep 17 00:00:00 2001 >From: Garry Collum <gcollum@gmail.com> >Date: Mon, 12 Oct 2009 20:22:20 -0400 >Subject: [PATCH] Bug 2889: Added zebra striping to the table in dictionary.tmpl. >Content-Type: text/plain; charset="utf-8" > >Also fixed a couple of minor XHTML errors. >--- > .../prog/en/modules/reports/dictionary.tmpl | 8 +++++--- > 1 files changed, 5 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tmpl >index 11d8dce..c2a1f80 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tmpl >@@ -44,7 +44,11 @@ Filter by area <select name="areas"> > </tr> > <!-- TMPL_IF NAME="definitions" --> > <!-- TMPL_LOOP NAME="definitions" --> >+<!-- TMPL_UNLESS NAME="__odd__" --> >+<tr class="highlight" valign="top"> >+<!-- TMPL_ELSE --> > <tr valign="top"> >+<!-- /TMPL_UNLESS --> > <td><!-- TMPL_VAR NAME="name" --></td> > <td><!-- TMPL_VAR NAME="description" --></td> > <td><!-- TMPL_VAR NAME="areaname" --></td> >@@ -56,7 +60,7 @@ Filter by area <select name="areas"> > </form></td> > </tr> > <!-- /TMPL_LOOP --> >-<!-- TMPL_ELSE --> <!-- /TMPL_IF --> >+<!-- /TMPL_IF --> > </table> > <!-- /TMPL_IF --> > >@@ -183,7 +187,6 @@ Filter by area <select name="areas"> > <input type="hidden" name="columnstring" value="<!-- TMPL_VAR NAME="columnstring" -->" /> > > <!-- TMPL_LOOP NAME="columns" --> >-<p> > <input type="hidden" name="criteria_column" value="<!-- TMPL_VAR NAME="name" -->" /> > <!-- TMPL_VAR NAME="name" --> > <!-- TMPL_IF NAME="distinct" --> >@@ -237,7 +240,6 @@ align : "Tl" > <p>Search string matches <input type="text" size="13" name="<!-- TMPL_VAR NAME="name" -->_value" /></p> > <!-- /TMPL_IF --> > >-</p> > <!-- /TMPL_LOOP --> > <input type="hidden" name="phase" value="New Term step 5" /> > <input type="submit" name="submit" value="Next" /> >-- >1.5.6.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 2889
:
911
|
912
|
913
|
914
|
2157
|
2306
|
2307
|
30071
|
30790
|
31834
|
31858
|
31859
|
31866
|
31867