summaryrefslogtreecommitdiff
path: root/app/views/projects/_flash_messages.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/_flash_messages.html.haml')
-rw-r--r--app/views/projects/_flash_messages.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/projects/_flash_messages.html.haml b/app/views/projects/_flash_messages.html.haml
index 7a5fff96676..b2dab0b5348 100644
--- a/app/views/projects/_flash_messages.html.haml
+++ b/app/views/projects/_flash_messages.html.haml
@@ -5,4 +5,6 @@
- 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
+ - unless project.empty_repo?
+ = render 'shared/auto_devops_implicitly_enabled_banner', project: project
+ = render_if_exists 'projects/above_size_limit_warning', project: project