Bugzilla – Attachment 12030 Details for
Bug 8711
alternating colors messed up on reports
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8711 - alternating colors messed up on reports
Bug-8711---alternating-colors-messed-up-on-reports.patch (text/plain), 1.46 KB, created by
Chris Cormack
on 2012-09-06 22:11:04 UTC
(
hide
)
Description:
Bug 8711 - alternating colors messed up on reports
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2012-09-06 22:11:04 UTC
Size:
1.46 KB
patch
obsolete
>From b628555917b7478d8487381c9af3ed62e04b74cd Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 6 Sep 2012 15:21:03 -0400 >Subject: [PATCH] Bug 8711 - alternating colors messed up on reports > >Patch adds the "zebra-striping" option to the >table sorter initialization and changes the row >color CSS to match the tablesorter's to prevent >conflicts. > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > .../en/modules/reports/guided_reports_start.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >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 21d8235..f081894 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 >@@ -43,6 +43,7 @@ $(document).ready(function(){ > [% END %] > // call the tablesorter plugin > $("#table_reports").tablesorter({ >+ widgets : ['zebra'], > sortList: [[1,0]], > headers: { > 6: { sorter: false}, >@@ -151,7 +152,7 @@ canned reports and writing custom SQL reports.</p> > </thead> > <tbody> > [% FOREACH savedreport IN savedreports %] >-[% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %] >+[% UNLESS ( loop.odd ) %]<tr class="odd">[% ELSE %]<tr>[% END %] > <td>[% savedreport.id %]</td> > <td>[% savedreport.report_name %]</td> > <td>[% savedreport.type %]</td> >-- >1.7.9.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 8711
:
11933
|
12025
| 12030