gitlab-org--gitlab-foss/app/views/projects/_flash_messages.html.haml
2017-07-26 12:47:50 +01:00

8 lines
361 B
Text

- project = local_assigns.fetch(:project)
- flash_message_container = show_new_nav? ? :new_global_flash : :flash_message
= content_for flash_message_container 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'