[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/rotterdam - template.pt:1.46

Gintautas Miliauskas gintas at pov.lt
Fri Jan 30 08:27:27 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/browser/skins/rotterdam
In directory cvs.zope.org:/tmp/cvs-serv9404

Modified Files:
	template.pt 
Log Message:
Referencing the view caused problems for pages without an actual view.


=== Zope3/src/zope/app/browser/skins/rotterdam/template.pt 1.45 => 1.46 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/template.pt:1.45	Sun Dec  7 05:04:51 2003
+++ Zope3/src/zope/app/browser/skins/rotterdam/template.pt	Fri Jan 30 08:27:24 2004
@@ -44,12 +44,12 @@
         </metal:block>
           <a href="" 
             tal:attributes="href string:@@logout.html?nextURL=${request/URL}"
-            tal:condition="python: hasattr(view.request.user, 'getLogin')"
+            tal:condition="python: hasattr(request.user, 'getLogin')"
             i18n:translate="">
             [Logout]</a>
           <a href="" 
             tal:attributes="href string:@@login.html?nextURL=${request/URL}"
-            tal:condition="python: not hasattr(view.request.user, 'getLogin')"
+            tal:condition="python: not hasattr(request.user, 'getLogin')"
             i18n:translate="">
             [Login]</a>
       </div>




More information about the Zope3-Checkins mailing list