2017-07-18 11:09:14 -04:00
|
|
|
- project = local_assigns.fetch(:project)
|
|
|
|
|
2017-09-06 06:58:24 -04:00
|
|
|
= content_for :flash_message do
|
2017-07-18 11:09:14 -04:00
|
|
|
= render partial: 'deletion_failed', locals: { project: project }
|
2017-06-29 07:43:01 -04:00
|
|
|
- if current_user && can?(current_user, :download_code, project)
|
|
|
|
= render 'shared/no_ssh'
|
|
|
|
= render 'shared/no_password'
|