gitlab-org--gitlab-foss/app/views/notes/_notes.html.haml
Dmitriy Zaporozhets 1e689bfba3 fixed notes logic
2012-02-27 19:05:27 +02:00

13 lines
232 B
Text

- if can? current_user, :write_note, @project
= render "notes/form"
.clear
%hr
%ul#new_notes_list
%ul#notes-list
.status
:javascript
$(function(){
NoteList.init("#{tid}", "#{tt}", "#{project_notes_path(@project)}");
});