summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-07-01 14:01:54 -0600
committerConnor Shea <connor.james.shea@gmail.com>2016-07-08 13:21:20 -0600
commit226bc5873a08f133bd3a3a2afe98559a0ebdcc4a (patch)
tree6fa8a6f85bcca540c710b17697aac992eebc0661 /app
parent443fdff1b43b5074321d0faf3a9d5396a4edcdab (diff)
downloadgitlab-ce-226bc5873a08f133bd3a3a2afe98559a0ebdcc4a.tar.gz
Use btn-danger for delete button.
Diffstat (limited to 'app')
-rw-r--r--app/views/snippets/_actions.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/snippets/_actions.html.haml b/app/views/snippets/_actions.html.haml
index 2957ff919e1..160c6cd84da 100644
--- a/app/views/snippets/_actions.html.haml
+++ b/app/views/snippets/_actions.html.haml
@@ -6,7 +6,7 @@
= link_to edit_snippet_path(@snippet), class: "btn btn-grouped snippable-edit" do
Edit
- if can?(current_user, :admin_personal_snippet, @snippet)
- = link_to snippet_path(@snippet), method: :delete, data: { confirm: "Are you sure?" }, class: "btn btn-grouped btn-warning", title: 'Delete Snippet' do
+ = link_to snippet_path(@snippet), method: :delete, data: { confirm: "Are you sure?" }, class: "btn btn-grouped btn-danger", title: 'Delete Snippet' do
Delete
- if current_user
.visible-xs-block.dropdown