diff options
Diffstat (limited to 'app/views/admin/application_settings/_account_and_limit.html.haml')
-rw-r--r-- | app/views/admin/application_settings/_account_and_limit.html.haml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/admin/application_settings/_account_and_limit.html.haml b/app/views/admin/application_settings/_account_and_limit.html.haml index aa377886edc..94a7a1be455 100644 --- a/app/views/admin/application_settings/_account_and_limit.html.haml +++ b/app/views/admin/application_settings/_account_and_limit.html.haml @@ -7,6 +7,15 @@ = f.check_box :gravatar_enabled, class: 'form-check-input' = f.label :gravatar_enabled, class: 'form-check-label' do = _('Gravatar enabled') + + .form-group + = f.label :namespace_storage_size_limit, class: 'label-bold' do + = _('Maximum namespace storage (MB)') + = f.number_field :namespace_storage_size_limit, class: 'form-control', min: 0 + %span.form-text.text-muted + = _('Includes repository storage, wiki storage, LFS objects, build artifacts and packages. 0 for unlimited.') + = link_to _('More information'), help_page_path('user/admin_area/settings/account_and_limit_settings', anchor: 'maximum-namespace-storage-size'), target: '_blank' + .form-group = f.label :default_projects_limit, _('Default projects limit'), class: 'label-bold' = f.number_field :default_projects_limit, class: 'form-control', title: _('Maximum number of projects.'), data: { toggle: 'tooltip', container: 'body' } |