From 505595febcdad3df77fe9523f830df87b7c0dcc9 Mon Sep 17 00:00:00 2001
From: Jared Camins-Esakov <jcamins@cpbibliography.com>
Date: Sat, 4 Feb 2012 12:39:12 -0500
Subject: [PATCH] [SIGNED-OFF] Bug 7501: OPAC auth browser should have alternating colors
Content-Type: text/plain; charset="utf-8"

Test plan:

1. Access authority browser in OPAC. Note that all rows have the same background
   color.
2. Apply patch, notice that colors now alternate.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
---
 .../en/modules/opac-authoritiessearchresultlist.tt |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiessearchresultlist.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiessearchresultlist.tt
index 1b57410..6638826 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiessearchresultlist.tt
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiessearchresultlist.tt
@@ -47,7 +47,11 @@
 				<th>Full Heading</th>				
 			</tr>
 			[% FOREACH resul IN result %]
-				<tr>
+            [% UNLESS ( loop.odd ) %]
+                <tr class="highlight">
+            [% ELSE %]
+                <tr>
+            [% END %]
 					<td>[% resul.summary %]</td>
 
 						<td>
-- 
1.7.3