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

12 lines
388 B
Plaintext
Raw Normal View History

= render "repositories/head"
2012-01-28 10:40:17 +00:00
- if can? current_user, :admin_project, @project
2012-02-11 21:22:33 +00:00
.alert-message.block-message
Deploy keys allow read-only access to repository.
= link_to new_project_deploy_key_path(@project), class: "btn small", title: "New Deploy Key" do
Add Deploy Key
2012-01-28 10:40:17 +00:00
2012-03-05 22:29:40 +00:00
- if @keys.any?
%table
2012-03-05 22:29:40 +00:00
- @keys.each do |key|
= render(partial: 'show', locals: {key: key})