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

index.html.haml « snippets « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0ae37cfff633ded681e003281689691712d2a1ed (plain)
1
2
3
4
5
6
7
8
9
10
11
%div
  - if can? current_user, :write_snippet, @project
    = link_to 'New Snippet', new_project_snippet_path(@project), :class => "button append-bottom-10"

  %table.round-borders#snippets-table
    %thead
      %th 
    = render @snippets.fresh
:javascript
  $('.delete-snippet').live('ajax:success', function() {
    $(this).closest('tr').fadeOut(); });