summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-12-10 01:28:53 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-12-10 01:28:53 +0100
commit0549b5e8ee6f6e40a3fd770b11061a005b27e628 (patch)
treede4e92d20f8d7baed4042a9c18d3d3c53549783f
parent8dc689cf5ae64712fd94877ae6a23b32ad9014ac (diff)
parent48bf0a34e2771096b175555b47133b2573faa4d8 (diff)
downloadgitlab-ce-0549b5e8ee6f6e40a3fd770b11061a005b27e628.tar.gz
Merge pull request #9897 from atomaka/atomaka/bugfix/consistent-no-ssh-message
Fix inconsistency with no ssh key message
-rw-r--r--app/views/projects/empty.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml
index 950ab33825e..503d156661e 100644
--- a/app/views/projects/empty.html.haml
+++ b/app/views/projects/empty.html.haml
@@ -1,4 +1,4 @@
-.alert_holder
+= content_for :flash_message do
- if current_user && can?(current_user, :download_code, @project)
= render 'shared/no_ssh'
= render 'shared/no_password'