2021-11-11 11:23:49 +05:30
|
|
|
- page_title s_("UsageQuota|Usage")
|
2023-06-20 00:43:36 +05:30
|
|
|
- add_page_specific_style 'page_bundles/projects_usage_quotas'
|
2021-11-11 11:23:49 +05:30
|
|
|
|
2022-10-11 01:57:18 +05:30
|
|
|
= render_if_exists 'shared/ultimate_feature_removal_banner', project: @project
|
2022-07-23 23:45:48 +05:30
|
|
|
|
|
|
|
= render Pajamas::AlertComponent.new(title: _('Repository usage recalculation started'),
|
|
|
|
variant: :info,
|
|
|
|
alert_options: { class: 'js-recalculation-started-alert gl-mt-4 gl-mb-5 gl-display-none' }) do |c|
|
|
|
|
= c.body do
|
|
|
|
= _('To view usage, refresh this page in a few minutes.')
|
|
|
|
|
|
|
|
%h1.page-title.gl-font-size-h-display
|
2021-11-11 11:23:49 +05:30
|
|
|
= s_('UsageQuota|Usage Quotas')
|
|
|
|
|
|
|
|
.row
|
|
|
|
.col-sm-12
|
|
|
|
= s_('UsageQuota|Usage of project resources across the %{strong_start}%{project_name}%{strong_end} project').html_safe % { strong_start: '<strong>'.html_safe, strong_end: '</strong>'.html_safe, project_name: @project.name } + '.'
|
2021-11-18 22:05:49 +05:30
|
|
|
%a{ href: help_page_path('user/usage_quotas.md'), target: '_blank', rel: 'noopener noreferrer' }
|
2021-11-11 11:23:49 +05:30
|
|
|
= s_('UsageQuota|Learn more about usage quotas') + '.'
|
|
|
|
|
2023-06-20 00:43:36 +05:30
|
|
|
= gl_tabs_nav({ id: 'js-project-usage-quotas-tabs' }) do
|
2022-04-04 11:22:00 +05:30
|
|
|
= gl_tab_link_to '#storage-quota-tab', item_active: true do
|
|
|
|
= s_('UsageQuota|Storage')
|
2023-06-20 00:43:36 +05:30
|
|
|
= render_if_exists 'projects/usage_quotas/transfer_tab_link'
|
2022-04-04 11:22:00 +05:30
|
|
|
|
2021-11-11 11:23:49 +05:30
|
|
|
.tab-content
|
2022-04-04 11:22:00 +05:30
|
|
|
.tab-pane.active#storage-quota-tab
|
2022-01-26 12:08:38 +05:30
|
|
|
#js-project-storage-count-app{ data: { project_path: @project.full_path } }
|
2023-06-20 00:43:36 +05:30
|
|
|
= render_if_exists 'projects/usage_quotas/transfer_tab_content'
|