Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/usage_quotas/index.html.haml')
-rw-r--r--app/views/projects/usage_quotas/index.html.haml8
1 files changed, 1 insertions, 7 deletions
diff --git a/app/views/projects/usage_quotas/index.html.haml b/app/views/projects/usage_quotas/index.html.haml
index 74c54cc888d..3de9bce14d4 100644
--- a/app/views/projects/usage_quotas/index.html.haml
+++ b/app/views/projects/usage_quotas/index.html.haml
@@ -1,12 +1,6 @@
- page_title s_("UsageQuota|Usage")
-- presenter_class = Namespaces::FreeUserCap::Projects::UsageQuotaLimitationsBannerPresenter
-- usage_quota_limits_banner_presenter = presenter_class.new(@project, current_user: current_user)
-
-- if usage_quota_limits_banner_presenter.visible?
- = render Pajamas::AlertComponent.new(**usage_quota_limits_banner_presenter.alert_component_attributes) do |c|
- - c.body do
- = usage_quota_limits_banner_presenter.body_text
+= render_if_exists 'namespaces/free_user_cap/projects/usage_quota_limitations_banner'
= render Pajamas::AlertComponent.new(title: _('Repository usage recalculation started'),
variant: :info,