summaryrefslogtreecommitdiff
path: root/app/views/projects/_flash_messages.html.haml
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-06 10:58:24 +0000
committerTim Zallmann <tzallmann@gitlab.com>2017-09-06 10:58:24 +0000
commitddb3692a2218e97dfcc256e21a0fccc97c5d9a56 (patch)
treeaabb5e0b0d6f37ee068a8804ccef46b994d4afba /app/views/projects/_flash_messages.html.haml
parentf497f170697c838747bb7cdaca2d1939f843a00c (diff)
downloadgitlab-ce-ddb3692a2218e97dfcc256e21a0fccc97c5d9a56.tar.gz
Clean up new navigation templates
Diffstat (limited to 'app/views/projects/_flash_messages.html.haml')
-rw-r--r--app/views/projects/_flash_messages.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/projects/_flash_messages.html.haml b/app/views/projects/_flash_messages.html.haml
index f47d84ef755..0175b519867 100644
--- a/app/views/projects/_flash_messages.html.haml
+++ b/app/views/projects/_flash_messages.html.haml
@@ -1,7 +1,6 @@
- project = local_assigns.fetch(:project)
-- flash_message_container = show_new_nav? ? :new_global_flash : :flash_message
-= content_for flash_message_container do
+= content_for :flash_message do
= render partial: 'deletion_failed', locals: { project: project }
- if current_user && can?(current_user, :download_code, project)
= render 'shared/no_ssh'