Show no-ssh error message for project page

This commit is contained in:
Dmitriy Zaporozhets 2015-01-23 18:14:26 -08:00
parent 630ff5744b
commit 0b404c3599

View file

@ -1,3 +1,6 @@
- if current_user && can?(current_user, :download_code, @project)
= render 'shared/no_ssh'
= render "home_panel"
%div.git-empty