2013-03-18 17:35:27 +00:00
|
|
|
= render "projects/settings_nav"
|
2012-09-05 05:56:59 +00:00
|
|
|
|
|
|
|
%p.slead
|
2013-05-06 12:10:55 +00:00
|
|
|
Deploy keys allow read-only access to repository. They can be used for CI, staging or production servers
|
2012-09-05 05:56:59 +00:00
|
|
|
|
2013-05-06 12:10:55 +00:00
|
|
|
%p
|
|
|
|
You can create a deploy key or add existing one
|
|
|
|
= link_to new_project_deploy_key_path(@project), class: "btn btn-primary pull-right", title: "New Deploy Key" do
|
|
|
|
%i.icon-plus
|
|
|
|
New Deploy Key
|
|
|
|
|
|
|
|
%hr.clearfix
|
|
|
|
|
|
|
|
.row
|
|
|
|
.span6.enabled-keys
|
|
|
|
%h5.cgreen
|
|
|
|
Enabled deploy keys
|
|
|
|
%small for this project
|
|
|
|
%ul.bordered-list
|
|
|
|
= render @enabled_keys
|
2013-05-06 17:41:08 +00:00
|
|
|
- if @enabled_keys.blank?
|
|
|
|
.light-well
|
|
|
|
%p.nothing_here_message Create #{link_to 'new deploy key', new_project_deploy_key_path(@project)} or add existing one
|
2013-05-06 12:10:55 +00:00
|
|
|
.span6.available-keys
|
|
|
|
%h5
|
|
|
|
Available deploy keys
|
|
|
|
%small from projects you are able to manage
|
|
|
|
%ul.bordered-list
|
|
|
|
= render @available_keys
|
2013-05-06 17:41:08 +00:00
|
|
|
- if @available_keys.blank?
|
|
|
|
.light-well
|
|
|
|
%p.nothing_here_message All deploy keys from projects you can manage will be displayed here
|