Commit b938405f authored by Gabriel Monnerat's avatar Gabriel Monnerat

- not use getObject()

- add condition to display date when exists

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42409 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9b78833e
No related merge requests found
...@@ -36,9 +36,11 @@ ...@@ -36,9 +36,11 @@
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <unicode encoding="cdata"><![CDATA[ <value> <unicode encoding="cdata"><![CDATA[
<tal:block tal:define="actions python:here.Base_filterDuplicateActions(here.portal_actions.listFilteredActionsFor(here.getObject()));\n <tal:block tal:define="actions python:here.Base_filterDuplicateActions(here.portal_actions.listFilteredActionsFor(here));\n
dummy python:request.set(\'actions\', actions);">\n dummy python:request.set(\'actions\', actions);">\n
<a tal:condition="python: context.getModificationDate() is not None">\n
<a tal:content="python: \'Updated %s by\' % context.getModificationDate().toZone(\'UTC\').ISO()"/>\n <a tal:content="python: \'Updated %s by\' % context.getModificationDate().toZone(\'UTC\').ISO()"/>\n
</a>\n
<a tal:content="here/portal_membership/getAuthenticatedMember"/>\n <a tal:content="here/portal_membership/getAuthenticatedMember"/>\n
\n \n
<button onclick="javascript:clickSaveButton(\'Base_edit\')" \n <button onclick="javascript:clickSaveButton(\'Base_edit\')" \n
......
172 173
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment