2012-01-14 19:26:35 +00:00
|
|
|
= 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
|
2012-06-03 22:37:27 +00:00
|
|
|
Deploy keys allow read-only access to repository.
|
2012-08-10 22:07:50 +00:00
|
|
|
= link_to new_project_deploy_key_path(@project), class: "btn small", title: "New Deploy Key" do
|
2012-06-03 22:37:27 +00:00
|
|
|
Add Deploy Key
|
2012-01-28 10:40:17 +00:00
|
|
|
|
2012-03-05 22:29:40 +00:00
|
|
|
- if @keys.any?
|
2012-03-28 07:46:51 +00:00
|
|
|
%table
|
2012-03-05 22:29:40 +00:00
|
|
|
- @keys.each do |key|
|
2012-08-10 22:07:50 +00:00
|
|
|
= render(partial: 'show', locals: {key: key})
|