foodsoft/plugins/messages/app/views/message_threads/index.html.haml

11 lines
346 B
Text
Raw Normal View History

- title t('.title')
- content_for :actionbar do
= link_to t('.messages'), messages_path, class: 'btn'
= link_to t('.new'), new_message_path, class: 'btn btn-primary'
2016-03-04 17:24:28 +01:00
= render 'groupmessage_threads', group: nil, name: t('.other'), id: 0
- for group in @groups
= render 'groupmessage_threads', group: group, name: group.name, id: group.id