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

11 lines
398 B
Plaintext
Raw Normal View History

= render "repositories/head"
2012-01-28 11:40:17 +01:00
- if can? current_user, :admin_project, @project
.alert-message.block-message.info
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
%ul.unstyled
- @keys.each do |key|
%li= render(:partial => 'show', :locals => {:key => key})