Sha256: 97d5b1224e61a3b3390f95f6fa60100ec8581cb6f0086c7bc7a9f13a0beab625

Contents?: true

Size: 645 Bytes

Versions: 13

Compression:

Stored size: 645 Bytes

Contents

- cache ['message-train', 'collectives-widget', box_user, collective] do
  - unless collective.boxes_for_participant(box_user).empty?
    .hidden-print
      %h3= :collective_messages.l(collective: collective_name(collective))
      - if collective.allows_sending_by?(box_user)
        .text-center= link_to :compose_to_collective.l(collective: collective_name(collective)), message_train.new_collective_box_message_path(collective.path_part, :sent), class: 'btn btn-lg btn-primary btn-compose'
      %ul.list-group
        - collective.boxes_for_participant(box_user).each do |box|
          = collective_list_item box, class: 'list-group-item'

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
message_train-0.7.6 app/views/message_train/collectives/_widget.html.haml
message_train-0.7.5 app/views/message_train/collectives/_widget.html.haml
message_train-0.7.3 app/views/message_train/collectives/_widget.html.haml
message_train-0.7.2 app/views/message_train/collectives/_widget.html.haml
message_train-0.7.1 app/views/message_train/collectives/_widget.html.haml
message_train-0.6.17 app/views/message_train/collectives/_widget.html.haml
message_train-0.6.16 app/views/message_train/collectives/_widget.html.haml
message_train-0.6.15 app/views/message_train/collectives/_widget.html.haml
message_train-0.6.14 app/views/message_train/collectives/_widget.html.haml
message_train-0.6.13 app/views/message_train/collectives/_widget.html.haml
message_train-0.6.12 app/views/message_train/collectives/_widget.html.haml
message_train-0.6.11 app/views/message_train/collectives/_widget.html.haml
message_train-0.6.10 app/views/message_train/collectives/_widget.html.haml