2013-03-18 18:35:27 +01:00
|
|
|
= render "projects/settings_nav"
|
2012-09-05 07:56:59 +02:00
|
|
|
|
|
|
|
%p.slead
|
|
|
|
Deploy keys allow read-only access to repository. It matches perfectly for CI, staging or production servers.
|
|
|
|
|
|
|
|
- if can? current_user, :admin_project, @project
|
2013-01-29 21:29:21 +01:00
|
|
|
= link_to new_project_deploy_key_path(@project), class: "btn btn-small", title: "New Deploy Key" do
|
2012-06-04 00:37:27 +02:00
|
|
|
Add Deploy Key
|
2012-03-05 23:29:40 +01:00
|
|
|
- if @keys.any?
|
2012-03-28 09:46:51 +02:00
|
|
|
%table
|
2012-09-05 07:56:59 +02:00
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th Keys
|
|
|
|
%th
|
|
|
|
%th
|
2012-03-05 23:29:40 +01:00
|
|
|
- @keys.each do |key|
|
2012-08-11 00:07:50 +02:00
|
|
|
= render(partial: 'show', locals: {key: key})
|