fa817dffea
Clean up admin dashboad tooltips Clean up admin dashboad tooltips Clean up admin dashboad tooltips Add helper method change to use app helper Modify tooltips to use new helper Convert remaining times Adjust one tooltip
22 lines
572 B
Text
22 lines
572 B
Text
%li
|
|
%h4.snippet-title
|
|
= link_to reliable_snippet_path(snippet) do
|
|
= truncate(snippet.title, length: 60)
|
|
%span.cgray.monospace.tiny.pull-right
|
|
= snippet.file_name
|
|
|
|
%small.pull-right.cgray
|
|
Expires:
|
|
- if snippet.expires_at
|
|
= snippet.expires_at.to_date.to_s(:short)
|
|
- else
|
|
Never
|
|
|
|
.snippet-info
|
|
= "##{snippet.id}"
|
|
%span
|
|
by
|
|
= image_tag avatar_icon(snippet.author_email), class: "avatar avatar-inline s16"
|
|
= snippet.author_name
|
|
%span.light
|
|
#{time_ago_with_tooltip(snippet.created_at)} ago
|