debian-mirror-gitlab/app/views/projects/_flash_messages.html.haml

9 lines
361 B
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
- 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'