summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmmar Alakkad <aalakkad@gitlab.com>2019-08-02 14:14:31 +0300
committerAmmar Alakkad <aalakkad@gitlab.com>2019-08-02 17:34:25 +0300
commit54f81988905b61861c0df3b50b64f37f5265a4ef (patch)
tree831d8cc11ca6501fc2e1cfd58888567c86212dfd
parentaac35ac4d25d0395f33d4f9e36e48d6870e5130e (diff)
downloadgitlab-ce-update-pipelines-minutes-expiry-banner-to-an-alert-component-type.tar.gz
Pass classes variable to shared_runners_minutes_limitupdate-pipelines-minutes-expiry-banner-to-an-alert-component-type
-rw-r--r--app/views/projects/_flash_messages.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/projects/_flash_messages.html.haml b/app/views/projects/_flash_messages.html.haml
index 82493216960..f9222387e97 100644
--- a/app/views/projects/_flash_messages.html.haml
+++ b/app/views/projects/_flash_messages.html.haml
@@ -8,5 +8,4 @@
- unless project.empty_repo?
= render 'shared/auto_devops_implicitly_enabled_banner', project: project
= render_if_exists 'projects/above_size_limit_warning', project: project
- %div{ class: [container_class, ("limit-container-width" unless fluid_layout)] }
- = render_if_exists 'shared/shared_runners_minutes_limit', project: @project
+ = render_if_exists 'shared/shared_runners_minutes_limit', project: project, classes: [container_class, ("limit-container-width" unless fluid_layout)]