Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_notes.html.haml « notes « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 457bb8db76398ae3fafcb9e979260f2307f51459 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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(); });