show link to original images to logged-in users only

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@4014 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2010-09-25 07:01:03 +00:00
parent ee3d68585f
commit 1327746bcb

View file

@ -3,7 +3,7 @@
<div metal:use-macro="views/node_macros/object_actions" />
<h1 tal:content="item/title">Title</h1><br />
<p tal:define="url python: view.getUrlForTarget(item)">
<a href="#"
<a tal:omit-tag="view/isAnonymous"
tal:attributes="href string:${url}/view?version=this"><img
tal:attributes="src
string:${url}/@@mediaasset.html?version=this&v=medium" /></a>