mailr/app/views/messages/_message.html.haml
Wojciech Todryk 0872730d8d view cleanup
2012-03-24 18:09:31 +01:00

19 lines
503 B
Plaintext
Executable file

%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)
%td{:nowrap=>"nowrap"}
= date_formatter(message.date)
%td
= size_formatter(message.size)
- if @current_folder == @drafts_folder
%td
= link_to(t(:edit,:scope=>:message),edit_path(message.uid))