gitlabhq/app/views/deploy_keys/index.html.haml

18 lines
493 B
Plaintext
Raw Normal View History

= render "repositories/head"
%p.slead
Deploy keys allow read-only access to repository. It matches perfectly for CI, staging or production servers.
- if can? current_user, :admin_project, @project
2013-01-29 21:29:21 +01:00
= link_to new_project_deploy_key_path(@project), class: "btn btn-small", title: "New Deploy Key" do
Add Deploy Key
2012-03-05 23:29:40 +01:00
- if @keys.any?
%table
%thead
%tr
%th Keys
%th
%th
2012-03-05 23:29:40 +01:00
- @keys.each do |key|
= render(partial: 'show', locals: {key: key})