summaryrefslogtreecommitdiff
path: root/app/views/deploy_keys/index.html.haml
blob: a1fa3475a8443a88ae6b80542a8c85a4090871c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
%p.slead
  Deploy keys allow read-only access to repository. They can be used for CI, staging or production servers

%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
  .span5.enabled-keys
    %h5.cgreen
      Enabled deploy keys
      %small 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
      Available deploy keys
      %small from projects you are able to manage
    %ul.bordered-list
      = render @available_keys
      - if @available_keys.blank?
        .light-well
          %p.nothing_here_message All deploy keys created in projects you own will be displayed here