index.html.haml 393 Bytes
= render "repositories/head"
- if can? current_user, :admin_project, @project
  .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 

%ul.unstyled
  - @keys.each do |key|
    %li= render(:partial => 'show', :locals => {:key => key})