mailr/app/views/messages/_message.html.haml

19 lines
503 B
Plaintext
Raw Normal View History

2012-03-24 13:23:34 +01:00
%td
= check_box_tag "uids[]", message.uid
%td
= raw attachment_formatter(message)
%td
- if @current_folder == @sent_folder || @current_folder == @drafts_folder
= address_formatter(message.to_addr,:index)
- else
= address_formatter(message.from_addr,:index)
%td
= subject_formatter(message,:index)
2012-03-24 18:09:31 +01:00
%td{:nowrap=>"nowrap"}
2012-03-24 13:23:34 +01:00
= date_formatter(message.date)
%td
= size_formatter(message.size)
2012-03-24 18:09:31 +01:00
- if @current_folder == @drafts_folder
%td
2012-03-24 13:23:34 +01:00
= link_to(t(:edit,:scope=>:message),edit_path(message.uid))