2011-10-20 18:21:58 +02:00
|
|
|
%div.wall_page
|
|
|
|
- if can? current_user, :write_note, @project
|
|
|
|
= render "notes/form"
|
|
|
|
.clear
|
|
|
|
%hr
|
2011-10-08 23:36:38 +02:00
|
|
|
= render "notes/notes"
|
2011-10-20 18:21:58 +02:00
|
|
|
|
2011-11-04 14:37:38 +01:00
|
|
|
.loading{ :style => "display:none;"}
|
|
|
|
%center= image_tag "ajax-loader.gif"
|
|
|
|
|
2011-10-26 15:46:25 +02:00
|
|
|
:javascript
|
2011-10-20 18:21:58 +02:00
|
|
|
$(function(){
|
|
|
|
$("#note_note").live("click", function(){
|
|
|
|
$(this).css("height", "100px");
|
|
|
|
$('.attach_holder').show();
|
|
|
|
});
|
2011-11-04 14:37:38 +01:00
|
|
|
|
|
|
|
NoteList.init("wall", #{@notes.last.id}, #{@notes.first.id});
|
2011-10-20 18:21:58 +02:00
|
|
|
});
|