v1.0
This commit is contained in:
parent
0f43e98ef8
commit
d378468794
317 changed files with 11347 additions and 0 deletions
14
app/views/notes/_notes.html.haml
Normal file
14
app/views/notes/_notes.html.haml
Normal file
|
@ -0,0 +1,14 @@
|
|||
%ul#notes-list
|
||||
- @notes.each do |note|
|
||||
= render :partial => "notes/show", :locals => {:note => note}
|
||||
|
||||
%br
|
||||
%br
|
||||
- if can? current_user, :write_note, @project
|
||||
= render "notes/form"
|
||||
|
||||
:javascript
|
||||
$('.delete-note').live('ajax:success', function() {
|
||||
$(this).closest('li').fadeOut(); });
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue