32 lines
989 B
Text
32 lines
989 B
Text
%h3.page-title
|
|
Deploy keys allow read-only access to repository
|
|
|
|
= link_to new_project_deploy_key_path(@project), class: "btn btn-new pull-right", title: "New Deploy Key" do
|
|
%i.icon-plus
|
|
New Deploy Key
|
|
|
|
%p.light
|
|
They can be used for CI, staging or production servers.
|
|
You can create a deploy key or add existing one
|
|
|
|
%hr.clearfix
|
|
|
|
.row
|
|
.span5.enabled-keys
|
|
%h5
|
|
%strong.cgreen Enabled deploy keys
|
|
for this project
|
|
%ul.bordered-list
|
|
= render @enabled_keys
|
|
- 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
|
|
.span5.available-keys
|
|
%h5
|
|
%strong Deploy keys
|
|
from projects available for you
|
|
%ul.bordered-list
|
|
= render @available_keys
|
|
- if @available_keys.blank?
|
|
.light-well
|
|
%p.nothing_here_message All deploy keys created in projects you participate will be displayed here
|