gitlabhq/app/views/notes/_notes.html.haml

15 lines
300 B
Plaintext
Raw Normal View History

2011-10-13 03:00:00 +02:00
%ul#notes-list
- @notes.each do |note|
= render :partial => "notes/show", :locals => {:note => note}
%br
%br
- if can? current_user, :write_note, @project
= render "notes/form"
:javascript
$('.delete-note').live('ajax:success', function() {
$(this).closest('li').fadeOut(); });