From 44fd379dc23fb4423619ab07e5f4a4906c097a6c Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Sat, 4 Feb 2012 12:39:12 -0500 Subject: [PATCH] Bug 7501: OPAC auth browser should have alternating colors 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 Signed-off-by: Paul Poulain --- .../opac-tmpl/prog/en/modules/opac-authoritiessearchresultlist.tt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 1b57410397..6638826692 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 @@ Full Heading [% FOREACH resul IN result %] - + [% UNLESS ( loop.odd ) %] + + [% ELSE %] + + [% END %] [% resul.summary %] -- 2.11.0