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

12 lines
253 B
Text
Raw Normal View History

%ul#notes-list.notes
.js-notes-busy
2012-09-13 02:12:44 +02:00
.js-main-target-form
2011-11-04 16:46:51 +01:00
- if can? current_user, :write_note, @project
= render "notes/form"
2011-10-08 23:36:38 +02:00
:javascript
2011-11-04 16:46:51 +01:00
$(function(){
2012-12-02 20:43:39 +01:00
NoteList.init("#{@target_id}", "#{@target_type}", "#{project_notes_path(@project)}");
2011-11-04 16:46:51 +01:00
});