foodsoft/app/views/messages/_messages.html.haml

10 lines
363 B
Plaintext
Raw Normal View History

2011-05-16 10:34:14 +02:00
- unless messages.empty?
2009-01-15 20:10:50 +01:00
%table.list
%tbody
2011-05-16 10:34:14 +02:00
- for message in messages
2009-01-15 20:10:50 +01:00
%tr{:class => cycle('even','odd', :name => 'messages')}
%td= format_subject(message, subject_length)
%td= h(message.sender_name)
2009-01-15 20:10:50 +01:00
%td= format_time(message.created_at)
%td= link_to('Antworten', reply_message_path(message))