gitlab-org--gitlab-foss/app/views/projects/_flash_messages.html.haml

9 lines
361 B
Text
Raw Normal View History

2017-07-18 11:09:14 -04:00
- project = local_assigns.fetch(:project)
- flash_message_container = show_new_nav? ? :new_global_flash : :flash_message
2017-06-29 07:43:01 -04:00
= content_for flash_message_container 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'