projects link added. security specs added

This commit is contained in:
Dmitriy Zaporozhets 2012-01-19 09:27:23 +02:00
parent 15c4655527
commit 00d7bfda95
7 changed files with 55 additions and 31 deletions

View file

@ -5,6 +5,12 @@
- @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
%li You can add a new one by clicking on plus icon
:javascript
$('.delete-key').live('ajax:success', function() {
$(this).closest('.update-item').fadeOut(); });