mailr/themes/olive/views/messages/_image.html.erb
Wojciech Todryk 7879dd49a2 devel
2011-09-09 22:10:25 +02:00

9 lines
416 B
Plaintext
Executable file

<div class="image">
<%= 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) %>
<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>