gitlab-org--gitlab-foss/app/views/notes/_notes_with_form.html.haml

12 lines
259 B
Plaintext
Raw Normal View History

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