[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/rotterdam -
dialog_macros.pt:1.9.16.1 template.pt:1.53.4.1
view_macros.pt:1.3.34.1
Marius Gedminas
marius at pov.lt
Fri Mar 19 13:51:01 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/browser/skins/rotterdam
In directory cvs.zope.org:/tmp/cvs-serv26650/src/zope/app/browser/skins/rotterdam
Modified Files:
Tag: mgedmin-events2-branch
dialog_macros.pt template.pt view_macros.pt
Log Message:
Added IParticipation and replaced the lists of principals in IInteraction with
a list of participations. Made BaseRequest an IParticipation and replaced
request.user with request.principal everywhere.
=== Zope3/src/zope/app/browser/skins/rotterdam/dialog_macros.pt 1.9 => 1.9.16.1 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/dialog_macros.pt:1.9 Sun Dec 7 05:04:51 2003
+++ Zope3/src/zope/app/browser/skins/rotterdam/dialog_macros.pt Fri Mar 19 13:50:29 2004
@@ -51,7 +51,7 @@
<metal:block define-macro="logged_user">
<span tal:omit-tag="" i18n:translate="">User:</span>
- <tal:block replace="request/user/getTitle">
+ <tal:block replace="request/principal/getTitle">
User
</tal:block>
</metal:block>
=== Zope3/src/zope/app/browser/skins/rotterdam/template.pt 1.53 => 1.53.4.1 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/template.pt:1.53 Tue Feb 10 20:39:16 2004
+++ Zope3/src/zope/app/browser/skins/rotterdam/template.pt Fri Mar 19 13:50:29 2004
@@ -45,18 +45,18 @@
<div id="userDetails">
<metal:block define-macro="logged_user">
<span tal:omit-tag="" i18n:translate="">User:</span>
- <tal:block replace="request/user/getTitle">
+ <tal:block replace="request/principal/getTitle">
User
</tal:block>
</metal:block>
<a href=""
tal:attributes="href string:@@logout.html?nextURL=${request/URL}"
- tal:condition="python: hasattr(request.user, 'getLogin')"
+ tal:condition="python: hasattr(request.principal, 'getLogin')"
i18n:translate="">
[Logout]</a>
<a href=""
tal:attributes="href string:@@login.html?nextURL=${request/URL}"
- tal:condition="python: not hasattr(request.user, 'getLogin')"
+ tal:condition="python: not hasattr(request.principal, 'getLogin')"
i18n:translate="">
[Login]</a>
</div>
=== Zope3/src/zope/app/browser/skins/rotterdam/view_macros.pt 1.3 => 1.3.34.1 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/view_macros.pt:1.3 Wed Aug 6 10:41:54 2003
+++ Zope3/src/zope/app/browser/skins/rotterdam/view_macros.pt Fri Mar 19 13:50:29 2004
@@ -33,7 +33,7 @@
<div metal:define-macro="logged_user">
<p i18n:translate="">User:
- <span tal:replace="request/user/getTitle">User</span>
+ <span tal:replace="request/principal/getTitle">User</span>
</p>
</div>
More information about the Zope3-Checkins
mailing list