Sha256: 9c314edf7924c3a2e4d25d0d9d4a18e52ed581331197e7e1fedb3697da0730c5

Contents?: true

Size: 645 Bytes

Versions: 10

Compression:

Stored size: 645 Bytes

Contents

- cache ['collectives-widget', box_user, collective], 'message-train' 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

10 entries across 10 versions & 1 rubygems

Version Path
message_train-0.6.9 app/views/message_train/collectives/_widget.html.haml
message_train-0.6.8 app/views/message_train/collectives/_widget.html.haml
message_train-0.6.7 app/views/message_train/collectives/_widget.html.haml
message_train-0.6.6 app/views/message_train/collectives/_widget.html.haml
message_train-0.6.5 app/views/message_train/collectives/_widget.html.haml
message_train-0.6.4 app/views/message_train/collectives/_widget.html.haml
message_train-0.6.3 app/views/message_train/collectives/_widget.html.haml
message_train-0.6.2 app/views/message_train/collectives/_widget.html.haml
message_train-0.6.1 app/views/message_train/collectives/_widget.html.haml
message_train-0.6.0 app/views/message_train/collectives/_widget.html.haml