[Zope3-checkins] CVS: Zope3/src/zope/app/undo - undo_log.pt:1.2
Stephan Richter
srichter at cosmos.phy.tufts.edu
Mon Mar 8 07:07:05 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/undo
In directory cvs.zope.org:/tmp/cvs-serv13053/src/zope/app/undo
Modified Files:
undo_log.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/undo/undo_log.pt 1.1 => 1.2 ===
--- Zope3/src/zope/app/undo/undo_log.pt:1.1 Mon Mar 1 09:16:56 2004
+++ Zope3/src/zope/app/undo/undo_log.pt Mon Mar 8 07:06:23 2004
@@ -30,7 +30,7 @@
<span tal:condition="all">
<p i18n:translate="">
You are
- <span tal:replace="request/user/getId"
+ <span tal:replace="request/user/id"
i18n:name="username">username</span>,
looking at all transactions. <a href="?">View only your own
transactions</a>.
@@ -41,14 +41,14 @@
<span tal:condition="not:all">
<p i18n:translate="">You are
- <span tal:replace="request/user/getId"
+ <span tal:replace="request/user/id"
i18n:name="username">username</span>,
looking at your own transactions.
<a href="?all=yes">View everyone's transactions</a>.
</p>
<span tal:omit-tag=""
tal:define="global undoInfo python:view.getUndoInfo(first=first,
- user_name=request.user.getId())"/>
+ user_name=request.user.id)"/>
</span>
<p>
More information about the Zope3-Checkins
mailing list