Styled snippets. Raw button for snippet

This commit is contained in:
randx 2012-06-12 21:41:46 +03:00
parent b96af79bb8
commit 093159a868
5 changed files with 39 additions and 7 deletions

View file

@ -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