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

14 lines
232 B
Text
Raw Normal View History

2011-11-04 11:46:51 -04:00
- if can? current_user, :write_note, @project
= render "notes/form"
.clear
%hr
2012-02-27 12:05:27 -05:00
%ul#new_notes_list
2012-02-24 02:16:06 -05:00
%ul#notes-list
2012-02-27 12:05:27 -05:00
.status
2011-10-08 17:36:38 -04:00
:javascript
2011-11-04 11:46:51 -04:00
$(function(){
2012-02-24 02:16:06 -05:00
NoteList.init("#{tid}", "#{tt}", "#{project_notes_path(@project)}");
2011-11-04 11:46:51 -04:00
});