[Zope3-checkins] CVS: Zope3/src/zope/app/rotterdam -
dialog_macros.pt:1.2 template.pt:1.2 view_macros.pt:1.2
Stephan Richter
srichter at cosmos.phy.tufts.edu
Mon Mar 8 07:06:31 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/rotterdam
In directory cvs.zope.org:/tmp/cvs-serv13053/src/zope/app/rotterdam
Modified Files:
dialog_macros.pt template.pt view_macros.pt
Log Message:
Adjusted code to use the new APIs for permissions and principals. Also, use
the utility service instead of the permission registry to look up permissions.
=== Zope3/src/zope/app/rotterdam/dialog_macros.pt 1.1 => 1.2 ===
--- Zope3/src/zope/app/rotterdam/dialog_macros.pt:1.1 Tue Mar 2 12:11:30 2004
+++ Zope3/src/zope/app/rotterdam/dialog_macros.pt Mon Mar 8 07:06:00 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/user/title">
User
</tal:block>
</metal:block>
=== Zope3/src/zope/app/rotterdam/template.pt 1.1 => 1.2 ===
--- Zope3/src/zope/app/rotterdam/template.pt:1.1 Tue Mar 2 12:11:30 2004
+++ Zope3/src/zope/app/rotterdam/template.pt Mon Mar 8 07:06:00 2004
@@ -45,7 +45,7 @@
<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/user/title">
User
</tal:block>
</metal:block>
=== Zope3/src/zope/app/rotterdam/view_macros.pt 1.1 => 1.2 ===
--- Zope3/src/zope/app/rotterdam/view_macros.pt:1.1 Tue Mar 2 12:11:30 2004
+++ Zope3/src/zope/app/rotterdam/view_macros.pt Mon Mar 8 07:06:00 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/user/title">User</span>
</p>
</div>
More information about the Zope3-Checkins
mailing list