gitlabhq/app/views/notes/_reversed_notes_with_form.html.haml
2012-12-03 22:51:56 +01:00

12 lines
281 B
Plaintext

- if can? current_user, :write_note, @project
= render "notes/common_form"
%ul#new-notes-list.reversed.notes
%ul#notes-list.reversed.notes
.notes-status
:javascript
$(function(){
NoteList.init("#{@target_id}", "#{@target_type}", "#{project_notes_path(@project)}");
});