diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-24 05:14:26 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-24 05:14:26 +0300 |
commit | 0b404c3599841fba3c118ecd6eb996b074fcfa11 (patch) | |
tree | f1fddf13c410f50b54fe779544972d18399a80fe /app/views/projects/empty.html.haml | |
parent | 630ff5744b58923890a269762bf3a3c9b1f6663f (diff) |
Show no-ssh error message for project page
Diffstat (limited to 'app/views/projects/empty.html.haml')
-rw-r--r-- | app/views/projects/empty.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml index 59f19c8b7a3..2e46de6bfe0 100644 --- a/app/views/projects/empty.html.haml +++ b/app/views/projects/empty.html.haml @@ -1,3 +1,6 @@ +- if current_user && can?(current_user, :download_code, @project) + = render 'shared/no_ssh' + = render "home_panel" %div.git-empty |