mailr/themes/olive/views/messages/_message.html.erb
Wojciech Todryk 2afeebad53 devel
2011-09-16 19:44:29 +02:00

18 lines
731 B
Plaintext
Executable file

<td><%= check_box_tag "uids[]", message.uid %></td>
<td><%= attachment_formatter(message) %></td>
<% if @current_folder == @sent_folder || @current_folder == @drafts_folder %>
<td nowrap="nowrap"><%= address_formatter(message.to_addr,:index) %></td>
<% else %>
<td nowrap="nowrap"><%= address_formatter(message.from_addr,:index) %></td>
<% end %>
<td nowrap="nowrap"><%= subject_formatter(message,:index) %></td>
<td nowrap="nowrap"><%= date_formatter(message.date) %></td>
</td><td nowrap="nowrap"><%= size_formatter(message.size) %></td>
<% if @current_folder == @drafts_folder %>
<td><%= link_to(t(:edit,:scope=>:message),messages_ops_edit_path(message.uid)) %></td>
<% else %>
<td><%= raw('&nbsp;') %></td>
<% end %>