gitlab-org--gitlab-foss/app/views/projects/_flash_messages.html.haml
Luke Bennett 1d78d88ef0
Resolve CE/EE diffs in _flash_messages
Part of single codebase changes.
2019-05-16 11:33:51 +01:00

10 lines
463 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'
- unless project.empty_repo?
= render 'shared/auto_devops_implicitly_enabled_banner', project: project
= render_if_exists 'projects/above_size_limit_warning', project: project