refactor buttons pt2
This commit is contained in:
parent
033aa1a885
commit
fb617c61b9
49 changed files with 90 additions and 90 deletions
|
@ -8,5 +8,5 @@
|
|||
= 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 right"
|
||||
= link_to 'Remove', project_deploy_key_path(key.project, key), confirm: 'Are you sure?', method: :delete, class: "btn btn-remove delete-key btn-small right"
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
Deploy keys allow read-only access to repository. It matches perfectly for CI, staging or production servers.
|
||||
|
||||
- if can? current_user, :admin_project, @project
|
||||
= link_to new_project_deploy_key_path(@project), class: "btn small", title: "New Deploy Key" do
|
||||
= link_to new_project_deploy_key_path(@project), class: "btn btn-small", title: "New Deploy Key" do
|
||||
Add Deploy Key
|
||||
- if @keys.any?
|
||||
%table
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
%hr
|
||||
%pre= @key.key
|
||||
.right
|
||||
= link_to 'Remove', project_deploy_key_path(@key.project, @key), confirm: 'Are you sure?', method: :delete, class: "danger btn delete-key"
|
||||
= link_to 'Remove', project_deploy_key_path(@key.project, @key), confirm: 'Are you sure?', method: :delete, class: "btn-remove btn delete-key"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue