2012-09-13 02:12:44 +02:00
|
|
|
%ul#notes-list
|
2012-09-13 19:55:57 +02:00
|
|
|
%ul#new-notes-list
|
2012-09-13 02:12:44 +02:00
|
|
|
.notes-status
|
|
|
|
|
2011-11-04 16:46:51 +01:00
|
|
|
- if can? current_user, :write_note, @project
|
2012-09-14 05:08:40 +02:00
|
|
|
= render "notes/common_form"
|
2012-02-24 21:19:47 +01:00
|
|
|
|
2011-10-08 23:36:38 +02:00
|
|
|
:javascript
|
2011-11-04 16:46:51 +01:00
|
|
|
$(function(){
|
2012-02-24 08:16:06 +01:00
|
|
|
NoteList.init("#{tid}", "#{tt}", "#{project_notes_path(@project)}");
|
2011-11-04 16:46:51 +01:00
|
|
|
});
|