gitlab-org--gitlab-foss/app/views/projects/_flash_messages.html.haml
Mayra Cabrera d6fa67824d Displays banner to notify users ADO is implicitly enabled
If ADO is implicitly enabled for a project due to the instance wide
setting feature or feature flag rollout then an owner or maintainer
visiting that project are going to see a banner.

Closes #50535
2018-09-06 10:47:50 -05:00

8 lines
351 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'
= render 'shared/auto_devops_implicitly_enabled_banner', project: project