Fixed widget counts, improved styles
This commit is contained in:
parent
fa7bd43ab9
commit
3f91da6816
19 changed files with 102 additions and 80 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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})
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
= render "repositories/head"
|
||||
|
||||
%h2 New Deploy key
|
||||
%h3 New Deploy key
|
||||
%hr
|
||||
|
||||
= render 'form'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue