Sha256: 07f27f6787ff0bd9e995331d3bab14fb56c43b38a3a45b7bdec41e6df99b5da6

Contents?: true

Size: 1.3 KB

Versions: 7

Compression:

Stored size: 1.3 KB

Contents

#yui-main
  .yui-b
    -box do 

      %h3= :sent_messages.l
      %table.messages{:border => 0, :width => '100%'}
        %tbody
          - if @messages.empty?
            %tr
              %td{ :colspan => "4" }
                = :no_messages.l
          - else
            - @messages.each do |message|
              %tr
                %td{:width => '10px'}
                  %fieldset.inline= check_box_tag "delete[]", message.id
                %td{:width => '60px'}
                  .photo= link_to image_tag( message.recipient.avatar_photo_url(:thumb), "height"=>"50px", "alt"=>"#{message.recipient.login}", "width"=>"50px" ), user_path(message.recipient), :title => :users_profile.l(:user => message.recipient.login)

                %td
                  = link_to h(message.subject), user_message_path(@user, message)                  
                  %br
                  = :to.l 
                  \:
                  = link_to h(message.recipient.login), user_path(@user)                  
                %td.meta{:width => '150px'}
                  = time_ago_in_words_or_date(message.created_at)                                  
            
            
          %tfoot
            %tr
              %td{ :colspan => "4" }
                -if @messages.any?
                  %p= submit_tag :delete.l

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
community_engine-2.3.1 app/views/messages/_sent.html.haml
community_engine-2.3.0 app/views/messages/_sent.html.haml
community_engine-2.1.0 app/views/messages/_sent.html.haml
community_engine-2.0.0 app/views/messages/_sent.html.haml
community_engine-2.0.0.beta3 app/views/messages/_sent.html.haml
community_engine-2.0.0.beta2 app/views/messages/_sent.html.haml
community_engine-2.0.0.beta1 app/views/messages/_sent.html.haml