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

11 lines
406 B
Plaintext
Raw Normal View History

= render "repositories/head"
2012-01-28 11:40:17 +01:00
- if can? current_user, :admin_project, @project
2012-02-11 22:22:33 +01:00
.alert-message.block-message
2012-01-28 11:40:17 +01:00
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-02-18 14:59:01 +01:00
%table.zebra-striped.borders
2012-01-28 11:40:17 +01:00
- @keys.each do |key|
2012-02-18 14:59:01 +01:00
= render(:partial => 'show', :locals => {:key => key})