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

18 lines
662 B
Plaintext
Raw Normal View History

= render "projects/settings_nav"
%p.slead
2013-04-28 15:42:11 +00:00
Deploy keys allow read-only access to repository. They can be used for CI, staging or production servers. A deploy key can be added to only one project. If you need to add the same key to multiple projects you can create a deploy user and add that user to multiple projects.
- if can? current_user, :admin_project, @project
2013-01-29 20:29:21 +00:00
= link_to new_project_deploy_key_path(@project), class: "btn btn-small", title: "New Deploy Key" do
Add Deploy Key
2012-03-05 22:29:40 +00:00
- if @keys.any?
%table
%thead
%tr
%th Keys
%th
%th
2012-03-05 22:29:40 +00:00
- @keys.each do |key|
= render(partial: 'show', locals: {key: key})