gitlabhq/app/views/notes/_notes.html.haml
2011-10-15 00:05:41 +03:00

16 lines
330 B
Plaintext

%ul#notes-list
- @notes.each do |note|
- next unless note.author
= 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(); });