diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-10-13 13:03:27 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-10-13 13:03:27 +0200 |
commit | 219451241a92ff9e81dcb77914e6d659ea2f7376 (patch) | |
tree | c2b2a73c52a6f0675a4af7ab40d7d5dbbb757d40 /app/views/projects/show.html.haml | |
parent | 4ad61519f9f9cdc82b1ee6bd1ed92905692c7e7f (diff) | |
download | gitlab-ce-219451241a92ff9e81dcb77914e6d659ea2f7376.tar.gz |
Fix UI issue on project page with no ssh key message
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/show.html.haml')
-rw-r--r-- | app/views/projects/show.html.haml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml index efa119edd5a..e95d987d74c 100644 --- a/app/views/projects/show.html.haml +++ b/app/views/projects/show.html.haml @@ -2,9 +2,10 @@ - if current_user = auto_discovery_link_tag(:atom, namespace_project_path(@project.namespace, @project, format: :atom, private_token: current_user.private_token), title: "#{@project.name} activity") -- if current_user && can?(current_user, :download_code, @project) - = render 'shared/no_ssh' - = render 'shared/no_password' += content_for :flash_message do + - if current_user && can?(current_user, :download_code, @project) + = render 'shared/no_ssh' + = render 'shared/no_password' - if prefer_readme? = render 'projects/last_push' |