[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/rotterdam/template.pt
Forgot to make the login/logout link a re-usable macro
Philipp von Weitershausen
philikon at philikon.de
Tue Aug 3 18:58:27 EDT 2004
Log message for revision 26887:
Forgot to make the login/logout link a re-usable macro
Changed:
U Zope3/trunk/src/zope/app/rotterdam/template.pt
-=-
Modified: Zope3/trunk/src/zope/app/rotterdam/template.pt
===================================================================
--- Zope3/trunk/src/zope/app/rotterdam/template.pt 2004-08-03 22:11:51 UTC (rev 26886)
+++ Zope3/trunk/src/zope/app/rotterdam/template.pt 2004-08-03 22:58:27 UTC (rev 26887)
@@ -50,6 +50,7 @@
</tal:block>
</metal:block>
<metal:block define-slot="login_logout">
+ <metal:macro define-macro="login_logout">
<a href=""
tal:attributes="href string:@@logout.html?nextURL=${request/URL/url:quote}"
tal:condition="python: hasattr(request.principal, 'getLogin')"
@@ -58,6 +59,7 @@
tal:attributes="href string:@@login.html?nextURL=${request/URL/url:quote}"
tal:condition="python: not hasattr(request.principal, 'getLogin')"
i18n:translate="">[Login]</a>
+ </metal:macro>
</metal:block>
</div>
<img tal:attributes="src context/++resource++zope3logo.gif" />
More information about the Zope3-Checkins
mailing list