projects link added. security specs added
This commit is contained in:
parent
15c4655527
commit
00d7bfda95
7 changed files with 55 additions and 31 deletions
|
@ -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(); });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue