summaryrefslogtreecommitdiff
path: root/app/views/projects/snippets/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/snippets/index.html.haml')
-rw-r--r--app/views/projects/snippets/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/snippets/index.html.haml b/app/views/projects/snippets/index.html.haml
index 1c4c73dc776..a4974d89c1a 100644
--- a/app/views/projects/snippets/index.html.haml
+++ b/app/views/projects/snippets/index.html.haml
@@ -7,6 +7,6 @@
.nav-controls
- if can?(current_user, :create_project_snippet, @project)
- = link_to _("New snippet"), new_project_snippet_path(@project), class: "btn btn-new", title: _("New snippet")
+ = link_to _("New snippet"), new_project_snippet_path(@project), class: "btn btn-success", title: _("New snippet")
= render 'snippets/snippets'