BigW Consortium Gitlab

_notes_with_form.html.haml 364 Bytes
Newer Older
1
%ul#notes-list.notes.main-notes-list.timeline
2
  = render "projects/notes/notes"
3
.js-notes-busy
4

5
.js-main-target-form
gitlabhq committed
6
- if can? current_user, :write_note, @project
7
  = render "projects/notes/form"
8

gitlabhq committed
9
:javascript
10
  new Notes("#{project_notes_path(target_id: @noteable.id, target_type: @noteable.class.name.underscore)}", #{@notes.map(&:id).to_json}, #{Time.now.to_i})