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,8 +1,13 @@
%li.wll
= link_to key_path(key) do
%p
%strong= key.title
%span.right.cgray
Added
= time_ago_in_words(key.created_at)
ago
%tr
%td
= link_to key_path(key) do
%p
%strong= key.title
%td
%span.right.cgray
Added
= time_ago_in_words(key.created_at)
ago
%td
= link_to 'Remove', key, :confirm => 'Are you sure?', :method => :delete, :class => "btn small danger delete-key right"

View file

@ -4,7 +4,6 @@
%hr
%div#keys-table
%ul.unstyled
- @keys.each do |key|
= render(:partial => 'show', :locals => {:key => key})
%table#keys-table.zebra-striped.borders
- @keys.each do |key|
= render(:partial => 'show', :locals => {:key => key})