loops/media/browser/asset.pt
helmutm 0984e47848 adjust media asset view to correspond with standard image display
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@2957 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-10-29 07:37:41 +00:00

13 lines
534 B
XML

<metal:block define-macro="asset">
<div tal:attributes="ondblclick python: item.openEditWindow('edit.html')">
<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="#"
tal:attributes="href string:${url}/view"><img
tal:attributes="src string:${url}/@@mediaasset.html?v=medium" /></a>
</p>
<p><i tal:content="item/description">Description</i></p>
</div>
</metal:block>