diff options
author | gitlabhq <m@gitlabhq.com> | 2011-10-19 20:41:14 +0300 |
---|---|---|
committer | gitlabhq <m@gitlabhq.com> | 2011-10-19 20:41:14 +0300 |
commit | 9ad444f02efbeb30365cdf7f23f9b2f846b45a03 (patch) | |
tree | 97e19a557e427f1e78c49159d384e72934a14acd /app/views/snippets | |
parent | 69e0ea626540a18866b58944ae230f4278e91ab6 (diff) | |
download | gitlab-ce-9ad444f02efbeb30365cdf7f23f9b2f846b45a03.tar.gz |
dashboard updated, links from project to dasdhboard
Diffstat (limited to 'app/views/snippets')
-rw-r--r-- | app/views/snippets/show.html.haml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/snippets/show.html.haml b/app/views/snippets/show.html.haml index d29e0f8c7ab..bb444efec79 100644 --- a/app/views/snippets/show.html.haml +++ b/app/views/snippets/show.html.haml @@ -15,6 +15,7 @@ = link_to 'Edit', edit_project_snippet_path(@project, @snippet), :class => "lbutton positive" - if can?(current_user, :admin_snippet, @project) || @snippet.author == current_user = link_to 'Destroy', [@project, @snippet], :confirm => 'Are you sure?', :method => :delete, :class => "lbutton delete-snippet negative", :id => "destroy_snippet_#{@snippet.id}" +.clear %br .snippet_notes= render "notes/notes" |