Show no-ssh error message for project page
This commit is contained in:
parent
630ff5744b
commit
0b404c3599
1 changed files with 3 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
|||
- if current_user && can?(current_user, :download_code, @project)
|
||||
= render 'shared/no_ssh'
|
||||
|
||||
= render "home_panel"
|
||||
|
||||
%div.git-empty
|
||||
|
|
Loading…
Reference in a new issue