gitlabhq/app/views/projects/wall.html.haml

20 lines
432 B
Plaintext
Raw Normal View History

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"
: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
});