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

_import_export_limits.html.haml « application_settings « admin « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4e774dd0a1ef384f989025ac180a8cf2da4dacbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
= form_for @application_setting, url: network_admin_application_settings_path(anchor: 'js-import-export-limits-settings'), html: { class: 'fieldset-form' } do |f|
  = form_errors(@application_setting, pajamas_alert: true)

  %fieldset
    = html_escape(_("Set any rate limit to %{code_open}0%{code_close} to disable the limit.")) % { code_open: '<code>'.html_safe, code_close: '</code>'.html_safe }


  %fieldset
    .form-group
      = f.label :project_import_limit, _('Maximum project import requests per minute'), class: 'label-bold'
      = f.number_field :project_import_limit, class: 'form-control gl-form-input'

  %fieldset
    .form-group
      = f.label :project_export_limit, _('Maximum project export requests per minute'), class: 'label-bold'
      = f.number_field :project_export_limit, class: 'form-control gl-form-input'

  %fieldset
    .form-group
      = f.label :project_download_export_limit, _('Maximum project export download requests per minute'), class: 'label-bold'
      = f.number_field :project_download_export_limit, class: 'form-control gl-form-input'

  %fieldset
    .form-group
      = f.label :group_import_limit, _('Maximum group import requests per minute'), class: 'label-bold'
      = f.number_field :group_import_limit, class: 'form-control gl-form-input'

  %fieldset
    .form-group
      = f.label :group_export_limit, _('Maximum group export requests per minute'), class: 'label-bold'
      = f.number_field :group_export_limit, class: 'form-control gl-form-input'

  %fieldset
    .form-group
      = f.label :group_download_export_limit, _('Maximum group export download requests per minute'), class: 'label-bold'
      = f.number_field :group_download_export_limit, class: 'form-control gl-form-input'

  = f.submit _('Save changes'), class: "gl-button btn btn-confirm", data: { qa_selector: 'save_changes_button' }