_notes_with_form.html.haml 234 Bytes
Newer Older
1
%ul#notes-list
Riyad Preukschas's avatar
Riyad Preukschas committed
2
%ul#new-notes-list
3 4
.notes-status

gitlabhq's avatar
gitlabhq committed
5
- if can? current_user, :write_note, @project
6
  = render "notes/common_form"
7

gitlabhq's avatar
gitlabhq committed
8
:javascript
gitlabhq's avatar
gitlabhq committed
9
  $(function(){
10
    NoteList.init("#{tid}", "#{tt}", "#{project_notes_path(@project)}");
gitlabhq's avatar
gitlabhq committed
11
  });