gitlab-org--gitlab-foss/app/views/projects/_flash_messages.html.haml
2017-09-06 10:58:24 +00:00

7 lines
273 B
Text

- project = local_assigns.fetch(:project)
= content_for :flash_message do
= render partial: 'deletion_failed', locals: { project: project }
- if current_user && can?(current_user, :download_code, project)
= render 'shared/no_ssh'
= render 'shared/no_password'