diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-06-29 10:08:05 -0600 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-07-08 13:21:20 -0600 |
commit | 443fdff1b43b5074321d0faf3a9d5396a4edcdab (patch) | |
tree | d5657dd5e75e889e6ca1f927913731b2f4000108 /app/views/explore | |
parent | 57da2e87053aab72378da20432a4882ab30cf0ce (diff) | |
download | gitlab-ce-443fdff1b43b5074321d0faf3a9d5396a4edcdab.tar.gz |
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.haml | 1 |
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 |