Parent: [d69cb3] (diff)

Child: [ddf08c] (diff)

Download this file

attachment.html    18 lines (17 with data), 421 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" alt="Thumbnail"/></a>
<br/>
<a href="{{value.url()}}">{{value.filename}}</a>
({{value.length}} bytes)
</div>
{% else %}
<div>
<a href="{{value.url()}}">{{value.filename}}</a>
({{value.length}} bytes)
</div>
{% endif %}
<br style="clear:both"/>
</div>