[Patches] [PATCH] Bug 7128 - adding some ID's to make styling opac-main.tt a

koha-patchbot at kohaaloha.com koha-patchbot at kohaaloha.com
Fri Nov 4 19:56:28 NZDT 2011


From: Liz Rea <lrea at nekls.org>
Date: Tue, 1 Nov 2011 14:01:17 -0500
Subject: [PATCH] Bug 7128 - adding some ID's to make styling opac-main.tt a
 bit easier

To test:
verify that the loggedin id is added when user is logged in
verify that the notloggedin id is evident when no user is logged in.

Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
---
 koha-tmpl/opac-tmpl/prog/en/modules/opac-main.tt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-main.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-main.tt
index b6219c3..af6447d 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-main.tt
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-main.tt
@@ -12,14 +12,14 @@
 	<div class="yui-b">
 		[% IF ( opacuserlogin ) %]
 	    [% IF ( loggedinusername ) %]
-			<div class="yui-g">
+			<div id="loggedin" class="yui-g">
 			<div>
 			[% ELSE %]
 		<div class="yui-ge">
 		<div class="yui-u first">
     [% END %]
 	[% ELSE %]
-		<div class="yui-g">
+		<div id="notloggedin" class="yui-g">
 		<div>
 	[% END %]
 	
-- 
1.7.5.4


More information about the Patches mailing list