_snippet.html.haml 354 Bytes
Newer Older
1 2
%tr
  %td
3
    = image_tag gravatar_icon(snippet.author_email), class: "avatar s24"
4 5
    %a{href: project_snippet_path(snippet.project, snippet)}
      %strong= truncate(snippet.title, length: 60)
6 7 8 9
  %td
    = snippet.file_name
  %td
    %span.cgray
10
      - if snippet.expires_at
11 12 13
        = snippet.expires_at.to_date.to_s(:short)
      - else
        Never