2011-09-03 13:07:40 +02:00
|
|
|
<div class="image">
|
2011-09-09 22:10:25 +02:00
|
|
|
<%= image_tag(messages_attachment_download_path(image.parent_id,image.idx), :size => @current_user.prefs.msg_image_thumbnail_size, :alt=>image.filename, :title=>image.filename) %>
|
2011-09-03 13:07:40 +02:00
|
|
|
<div class="desc">
|
|
|
|
<span class="name"><%= link_to (image.filename,messages_attachment_download_path(image.parent_id,image.idx)) %></span>
|
|
|
|
<span class="size"><%= size_formatter(image.getSize) %></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|