gitlab-org--gitlab-foss/app/views/projects/wall.html.haml
2011-11-04 09:37:38 -04:00

19 lines
432 B
Text

%div.wall_page
- if can? current_user, :write_note, @project
= render "notes/form"
.clear
%hr
= render "notes/notes"
.loading{ :style => "display:none;"}
%center= image_tag "ajax-loader.gif"
:javascript
$(function(){
$("#note_note").live("click", function(){
$(this).css("height", "100px");
$('.attach_holder').show();
});
NoteList.init("wall", #{@notes.last.id}, #{@notes.first.id});
});