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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-06-29 19:08:05 +0300
committerConnor Shea <connor.james.shea@gmail.com>2016-07-08 22:21:20 +0300
commit443fdff1b43b5074321d0faf3a9d5396a4edcdab (patch)
treed5657dd5e75e889e6ca1f927913731b2f4000108 /app/views/explore
parent57da2e87053aab72378da20432a4882ab30cf0ce (diff)
Update New Snippet buttons.
No longer shows New Snippet button to users who aren't able to create a new snippet in the given context. Also removes the plus icon from the New Snippet buttons, as they're no longer used in other creation buttons. Fixes #14595.
Diffstat (limited to 'app/views/explore')
-rw-r--r--app/views/explore/snippets/index.html.haml1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/views/explore/snippets/index.html.haml b/app/views/explore/snippets/index.html.haml
index 9b838b9f3b7..6306fe6d0bf 100644
--- a/app/views/explore/snippets/index.html.haml
+++ b/app/views/explore/snippets/index.html.haml
@@ -10,7 +10,6 @@
- if current_user
.pull-right
= link_to new_snippet_path, class: "btn btn-new", title: "New Snippet" do
- = icon('plus')
New Snippet
.oneline