debian-mirror-gitlab/app/views/admin/application_settings/_diff_limits.html.haml

16 lines
740 B
Text
Raw Normal View History

2019-12-04 20:38:33 +05:30
= form_for @application_setting, url: general_admin_application_settings_path(anchor: 'js-merge-request-settings'), html: { class: 'fieldset-form' } do |f|
2018-12-05 23:21:45 +05:30
= form_errors(@application_setting)
%fieldset
.form-group
= f.label :diff_max_patch_bytes, 'Maximum diff patch size (Bytes)', class: 'label-light'
= f.number_field :diff_max_patch_bytes, class: 'form-control'
%span.form-text.text-muted
Diff files surpassing this limit will be presented as 'too large'
and won't be expandable.
2020-11-24 15:15:51 +05:30
= link_to sprite_icon('question-o'),
2018-12-05 23:21:45 +05:30
help_page_path('user/admin_area/diff_limits',
anchor: 'maximum-diff-patch-size')
2021-01-03 14:25:43 +05:30
= f.submit _('Save changes'), class: 'gl-button btn btn-success'