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

18 lines
508 B
Plaintext
Raw Normal View History

= render "repositories/head"
2011-12-29 20:44:16 +01:00
%div#keys-table{ :class => "update-data ui-box ui-box-small ui-box-big" }
.data
- @keys.each do |key|
= render(:partial => 'show', :locals => {:key => key})
- if @keys.blank?
.notice_holder
%li Deploy Keys do not exist yet.
- if can? current_user, :admin_project, @project
2012-01-21 22:17:29 +01:00
%li You can add a new one by clicking on "Add New" button
2011-12-29 20:44:16 +01:00
:javascript
$('.delete-key').live('ajax:success', function() {
$(this).closest('.update-item').fadeOut(); });