Fixed widget counts, improved styles

This commit is contained in:
Dmitriy Zaporozhets 2012-02-18 15:59:01 +02:00
parent fa7bd43ab9
commit 3f91da6816
19 changed files with 102 additions and 80 deletions

View file

@ -1,7 +1,6 @@
%li.entry
%a{:href => project_snippet_path(snippet.project, snippet)}
%p
%strong
= truncate(snippet.title, :length => 60)
%tr
%td
%a{:href => project_snippet_path(snippet.project, snippet)}
= truncate(snippet.title, :length => 60)
%span.right.cgray
= snippet.file_name

View file

@ -9,4 +9,4 @@
To add new snippet - click on button.
- unless @snippets.fresh.empty?
%ul.unstyled= render @snippets.fresh
%table.zebra-striped.borders= render @snippets.fresh