2011-09-09 22:10:25 +02:00
|
|
|
<div class="attachments">
|
|
|
|
<span class="title"><%= t(:attachments,:scope=>:message) %></span>
|
|
|
|
<% if not @attachments.size.zero? %>
|
|
|
|
<% trclass = :even %>
|
2011-09-10 13:49:42 +02:00
|
|
|
<table class="table">
|
2011-09-09 22:10:25 +02:00
|
|
|
<% @attachments.each do |a| %>
|
|
|
|
<tr class="<%= trclass.to_s %>">
|
|
|
|
<%= render :partial => 'messages/file_attach', :object => a %>
|
|
|
|
</tr>
|
|
|
|
<% trclass == :even ? trclass = :odd : trclass = :even %>
|
|
|
|
<% end %>
|
|
|
|
</table>
|
|
|
|
<%= raw single_action('delete_marked','compose','minus.png') %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
|