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

13 lines
307 B
Plaintext
Raw Normal View History

.js-main-target-form
- if can? current_user, :write_note, @project
= render "notes/form"
%ul#new-notes-list.reversed.notes
%ul#notes-list.reversed.notes
.notes-busy.js-notes-busy
:javascript
$(function(){
2012-12-02 20:43:39 +01:00
NoteList.init("#{@target_id}", "#{@target_type}", "#{project_notes_path(@project)}");
});