files.html.haml 630 Bytes
.row
  .span3
    = render 'writeboards/nav'
  .span9
    - unless @notes.empty?
      %table
        %thead
          %tr
            %th File name
            %th

        - @notes.each do |note|
          %tr
            %td
              = link_to note.attachment.secure_url, target: "_blank" do
                = image_tag gravatar_icon(note.author_email), class: "avatar s24"
                = note.attachment_identifier
            %td
              Added
              = time_ago_in_words(note.created_at)
              ago
    - else
      %p.slead All files attached to project wall, issues etc will be displayed here