2012-11-18 00:41:30 +01:00
|
|
|
%ul#notes-list.notes
|
2012-12-02 23:14:56 +01:00
|
|
|
.js-notes-busy
|
2012-09-13 02:12:44 +02:00
|
|
|
|
2012-12-02 20:47:09 +01:00
|
|
|
.js-main-target-form
|
2011-11-04 16:46:51 +01:00
|
|
|
- if can? current_user, :write_note, @project
|
2012-12-02 23:14:56 +01:00
|
|
|
= render "notes/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-12-02 20:43:39 +01:00
|
|
|
NoteList.init("#{@target_id}", "#{@target_type}", "#{project_notes_path(@project)}");
|
2011-11-04 16:46:51 +01:00
|
|
|
});
|