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,12 @@
%a.update-item{:href => project_deploy_key_path(key.project, key)}
%span.update-title
= key.title
%span.update-author
Added
= time_ago_in_words(key.created_at)
ago
%tr
%td
%a{:href => project_deploy_key_path(key.project, key)}
= key.title
%td
%span.update-author
Added
= time_ago_in_words(key.created_at)
ago
%td
= link_to 'Remove', project_deploy_key_path(key.project, key), :confirm => 'Are you sure?', :method => :delete, :class => "danger btn delete-key small"

View file

@ -5,6 +5,6 @@
= link_to new_project_deploy_key_path(@project), :class => "btn small", :title => "New Deploy Key" do
Add Deploy Key
%ul.unstyled
%table.zebra-striped.borders
- @keys.each do |key|
%li= render(:partial => 'show', :locals => {:key => key})
= render(:partial => 'show', :locals => {:key => key})

View file

@ -1,5 +1,6 @@
= render "repositories/head"
%h2 New Deploy key
%h3 New Deploy key
%hr
= render 'form'