gitlab-org--gitlab-foss/app/views/projects/deploy_keys/index.html.haml

33 lines
998 B
Plaintext
Raw Normal View History

2013-08-06 14:58:45 +00:00
%h3.page-title
Deploy keys allow read-only access to the repository
= link_to new_project_deploy_key_path(@project), class: "btn btn-new pull-right", title: "New Deploy Key" do
2013-05-06 12:10:55 +00:00
%i.icon-plus
New Deploy Key
%p.light
Deploy keys can be used for CI, staging or production servers.
You can create a deploy key or add an existing one
2013-05-06 12:10:55 +00:00
%hr.clearfix
.row
.col-md-6.enabled-keys
2013-08-06 14:58:45 +00:00
%h5
%strong.cgreen Enabled deploy keys
for this project
2013-05-06 12:10:55 +00:00
%ul.bordered-list
= render @enabled_keys
2013-05-06 17:41:08 +00:00
- if @enabled_keys.blank?
.light-well
.nothing-here-block Create a #{link_to 'new deploy key', new_project_deploy_key_path(@project)} or add an existing one
.col-md-6.available-keys
2013-05-06 12:10:55 +00:00
%h5
2013-08-06 14:58:45 +00:00
%strong Deploy keys
from projects available to you
2013-05-06 12:10:55 +00:00
%ul.bordered-list
= render @available_keys
2013-05-06 17:41:08 +00:00
- if @available_keys.blank?
.light-well
.nothing-here-block Deploy keys from projects you have access to will be displayed here