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

10 lines
386 B
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
- project = local_assigns.fetch(:project)
2018-03-17 18:26:18 +05:30
= content_for :flash_message do
2017-09-10 17:25:29 +05:30
= render partial: 'deletion_failed', locals: { project: project }
- if current_user && can?(current_user, :download_code, project)
= render 'shared/no_ssh'
= render 'shared/no_password'
2019-05-18 00:54:41 +05:30
- unless project.empty_repo?
= render 'shared/auto_devops_implicitly_enabled_banner', project: project