14 lines
No EOL
451 B
Text
14 lines
No EOL
451 B
Text
- if pagination
|
|
- if Message.public.count > 20
|
|
= items_per_page
|
|
= pagination_links_remote messages
|
|
|
|
- unless messages.empty?
|
|
%table.table.table-striped
|
|
%tbody
|
|
- for message in messages
|
|
%tr
|
|
%td= format_subject(message, 130)
|
|
%td= h(message.sender_name)
|
|
%td= format_time(message.created_at)
|
|
%td= link_to 'Antworten', new_message_path(:message => {:reply_to => message.id}), class: 'btn' |