2013-08-06 10:58:45 -04:00
|
|
|
%h3.page-title
|
2013-08-15 14:19:29 -04:00
|
|
|
Deploy keys allow read-only access to the repository
|
2012-09-05 01:56:59 -04:00
|
|
|
|
2015-01-24 13:02:58 -05:00
|
|
|
= link_to new_namespace_project_deploy_key_path(@project.namespace, @project), class: "btn btn-new pull-right", title: "New Deploy Key" do
|
2014-10-01 18:21:29 -04:00
|
|
|
%i.fa.fa-plus
|
2013-05-06 08:10:55 -04:00
|
|
|
New Deploy Key
|
|
|
|
|
2013-08-01 15:35:40 -04:00
|
|
|
%p.light
|
2013-08-15 14:19:29 -04:00
|
|
|
Deploy keys can be used for CI, staging or production servers.
|
|
|
|
You can create a deploy key or add an existing one
|
2013-08-01 15:35:40 -04:00
|
|
|
|
2013-05-06 08:10:55 -04:00
|
|
|
%hr.clearfix
|
|
|
|
|
|
|
|
.row
|
2014-01-08 11:59:23 -05:00
|
|
|
.col-md-6.enabled-keys
|
2013-08-06 10:58:45 -04:00
|
|
|
%h5
|
|
|
|
%strong.cgreen Enabled deploy keys
|
|
|
|
for this project
|
2013-05-06 08:10:55 -04:00
|
|
|
%ul.bordered-list
|
|
|
|
= render @enabled_keys
|
2013-05-06 13:41:08 -04:00
|
|
|
- if @enabled_keys.blank?
|
|
|
|
.light-well
|
2015-01-24 13:02:58 -05:00
|
|
|
.nothing-here-block Create a #{link_to 'new deploy key', new_namespace_project_deploy_key_path(@project.namespace, @project)} or add an existing one
|
2014-01-08 11:59:23 -05:00
|
|
|
.col-md-6.available-keys
|
2013-05-06 08:10:55 -04:00
|
|
|
%h5
|
2013-08-06 10:58:45 -04:00
|
|
|
%strong Deploy keys
|
2013-08-15 14:19:29 -04:00
|
|
|
from projects available to you
|
2013-05-06 08:10:55 -04:00
|
|
|
%ul.bordered-list
|
|
|
|
= render @available_keys
|
2013-05-06 13:41:08 -04:00
|
|
|
- if @available_keys.blank?
|
|
|
|
.light-well
|
2014-02-20 06:51:22 -05:00
|
|
|
.nothing-here-block Deploy keys from projects you have access to will be displayed here
|