Commit 526f3c27 authored by Bartek Górny's avatar Bartek Górny

Use title instead of title_or_id, because the latter has tighter security.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13089 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0fc904bb
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<a tal:define="url python: \'%s/view\' % doc.absolute_url()"\n <a tal:define="url python: \'%s/view\' % doc.absolute_url()"\n
tal:attributes="href url">\n tal:attributes="href url">\n
<span tal:replace="doc/portal_type"/>:\n <span tal:replace="doc/portal_type"/>:\n
<span tal:replace="doc/getTitleOrId"/>\n <span tal:replace="doc/getTitle"/>\n
<span tal:condition="python: hasattr(doc, \'getVersion\') and doc.getVersion()" \n <span tal:condition="python: hasattr(doc, \'getVersion\') and doc.getVersion()" \n
tal:replace="python: \'ver. %s\' % doc.getVersion()"/>\n tal:replace="python: \'ver. %s\' % doc.getVersion()"/>\n
(<span tal:content="python: doc.getValidationStateTitle()" \n (<span tal:content="python: doc.getValidationStateTitle()" \n
......
527 529
\ 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