summaryrefslogtreecommitdiff
path: root/app/views/projects/_flash_messages.html.haml
blob: 7a5fff9667618b06f757146ce96c88d7ccaf7313 (plain)
1
2
3
4
5
6
7
8
- 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