Sha256: d3ec01ee1eb40a672b87e72db388017a5760d8e60402a30639868ed041ee8a9a

Contents?: true

Size: 1.56 KB

Versions: 10

Compression:

Stored size: 1.56 KB

Contents

- cache ['conversation-result', @box_user, conversation], 'message-train' 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

10 entries across 10 versions & 1 rubygems

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