%li
  .snippet-title
    - if snippet.private?
      %i.icon-lock.cgreen
    - else
      %i.icon-globe.cblue
    = link_to reliable_snippet_path(snippet) do
      %h5.inline
        = truncate(snippet.title, length: 60)
    %span.cgray
      = snippet.file_name

  %small.pull-right.cgray
    Expires:
    - if snippet.expires_at
      = snippet.expires_at.to_date.to_s(:short)
    - else
      Never

  .snippet-info.prepend-left-20
    = "##{snippet.id}"
    %span.light
      by
      = image_tag gravatar_icon(snippet.author_email), class: "avatar avatar-inline s16"
      = snippet.author_name
