mailr/themes/olive/views/messages/_attachments.html.erb
Wojciech Todryk b9561278d0 devel
2011-08-24 19:20:13 +02:00

14 lines
353 B
Plaintext
Executable file

<div class="attachments">
<span class="title"><%= t(:attachments,:scope=>:message) %></span>
<table class="table">
<% trclass = :even %>
<% @attachments.each do |a| %>
<tr class="<%= trclass.to_s %>">
<%= render :partial => 'attachment', :object => a %>
</tr>
<% trclass == :even ? trclass = :odd : trclass = :even %>
<% end %>
</table>
</div>