diff options
Diffstat (limited to 'app/views/snippets/_snippet.html.haml')
-rw-r--r-- | app/views/snippets/_snippet.html.haml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/app/views/snippets/_snippet.html.haml b/app/views/snippets/_snippet.html.haml index d6002362a15..0385d753207 100644 --- a/app/views/snippets/_snippet.html.haml +++ b/app/views/snippets/_snippet.html.haml @@ -1,6 +1,12 @@ %tr %td %a{:href => project_snippet_path(snippet.project, snippet)} - = truncate(snippet.title, :length => 60) - %span.right.cgray - = snippet.file_name + %strong= truncate(snippet.title, :length => 60) + %td + = snippet.file_name + %td + %span.cgray + - if snippet.expires_at + = snippet.expires_at.to_date.to_s(:short) + - else + Never |