Sha256: 10e4adec8ff9dcf080efc243c01a31cf82b0434ab580f83e0616df5f014e2658

Contents?: true

Size: 1.56 KB

Versions: 13

Compression:

Stored size: 1.56 KB

Contents

- cache ['message-train', 'conversation-result', @box_user, conversation] do
  %tr.message_train_conversation{ class: conversation_class(@box, conversation), id: 'message_train_conversation_' + conversation.id.to_s }
    %td.col-xs-1= check_box_tag "objects[conversations][#{conversation.id.to_s}]", conversation.id
    - if @collective.nil?
      %td.col-xs-2= link_to conversation_senders(conversation), message_train.box_conversation_path(@box.division, conversation)
      %td.col-xs-8= link_to conversation.subject, message_train.box_conversation_path(@box.division, conversation)
      %td
        - if conversation.attachments.any?
          = icon 'paperclip'
      %td.col-xs-1.conversation-actions
        = conversation_trashed_toggle conversation
        - if @box.division == :trash
          = conversation_deleted_toggle conversation
      %td.col-xs-1.date-column= fuzzy_date(conversation.updated_at)
    - else
      %td.col-xs-2= link_to conversation_senders(conversation), message_train.collective_box_conversation_path(@collective.path_part, @box.division, conversation)
      %td.col-xs-8= link_to conversation.subject, message_train.collective_box_conversation_path(@collective.path_part, @box.division, conversation)
      %td
        - if conversation.attachments.any?
          = icon 'paperclip'
      %td.col-xs-1.conversation-actions
        = conversation_trashed_toggle conversation, @collective
        - if @box.division == :trash
          = conversation_deleted_toggle conversation, @collective
      %td.col-xs-1.date-column= fuzzy_date(conversation.updated_at)

Version data entries

13 entries across 13 versions & 1 rubygems

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