Child: [d69cb3] (diff)

Download this file

attachment.html    18 lines (17 with data), 423 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
<div>
<hr/>
{% if value.is_image() %}
<div class="attachment_thumb">
<a href="{{value.url()}}"><img src="{{value.url()}}/thumb"/></a>
<br/>
<a href="{{value.url()}}">{{value.metadata.filename}}</a>
({{value.length}} bytes)
</div>
{% else %}
<div>
<a href="{{value.url()}}">{{value.metadata.filename}}</a>
({{value.length}} bytes)
</div>
{% endif %}
<br style="clear:both"/>
</div>