[Patches] [PATCH] [SIGNED-OFF] Bug 7128 - adding some ID's to make styling opac-main.tt a bit easier
koha-patchbot at kohaaloha.com
koha-patchbot at kohaaloha.com
Sat Nov 5 08:20:03 NZDT 2011
From: Liz Rea <lrea at nekls.org>
Date: Tue, 1 Nov 2011 14:01:17 -0500
Subject: [PATCH] [SIGNED-OFF] Bug 7128 - adding some ID's to make styling opac-main.tt a bit easier
Content-Type: text/plain; charset="utf-8"
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>
Bug 7128 : Follow up, adding the id to the case when a user is not logged in
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
---
koha-tmpl/opac-tmpl/prog/en/modules/opac-main.tt | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 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..7068a87 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-main.tt
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-main.tt
@@ -10,18 +10,18 @@
<div id="yui-main">
<div class="yui-b">
- [% IF ( opacuserlogin ) %]
- [% IF ( loggedinusername ) %]
- <div class="yui-g">
- <div>
- [% ELSE %]
- <div class="yui-ge">
- <div class="yui-u first">
+ [% IF ( opacuserlogin ) %]
+ [% IF ( loggedinusername ) %]
+ <div id="loggedin" class="yui-g">
+ <div>
+ [% ELSE %]
+ <div id="notloggedin" class="yui-ge">
+ <div class="yui-u first">
+ [% END %]
+ [% ELSE %]
+ <div id="notloggedin" class="yui-g">
+ <div>
[% END %]
- [% ELSE %]
- <div class="yui-g">
- <div>
- [% END %]
[% IF ( koha_news_count ) %]
<div id="news" class="container">
--
1.7.3
More information about the Patches
mailing list