Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
47367d39
Commit
47367d39
authored
Dec 07, 2021
by
Axel García
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set empty value for disabled inputs
parent
0f9223b2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ee/app/views/admin/application_settings/_repository_size_limit_setting.html.haml
...ication_settings/_repository_size_limit_setting.html.haml
+1
-1
ee/app/views/shared/_repository_size_limit_setting.html.haml
ee/app/views/shared/_repository_size_limit_setting.html.haml
+1
-1
No files found.
ee/app/views/admin/application_settings/_repository_size_limit_setting.html.haml
View file @
47367d39
...
...
@@ -9,6 +9,6 @@
=
_
(
'Includes LFS objects. It can be overridden per group, or per project. 0 for unlimited.'
)
=
link_to
_
(
'Learn more.'
),
help_page_path
(
'user/admin_area/settings/account_and_limit_settings'
),
target:
'_blank'
,
rel:
'noopener noreferrer'
-
else
=
form
.
number_field
:disabled_repository_size_limit
,
value:
'
0
'
,
class:
'form-control gl-form-input'
,
disabled:
true
=
form
.
number_field
:disabled_repository_size_limit
,
value:
''
,
class:
'form-control gl-form-input'
,
disabled:
true
%span
.form-text.text-muted
=
render
'shared/registration_features_discovery_message'
,
license:
@license
ee/app/views/shared/_repository_size_limit_setting.html.haml
View file @
47367d39
...
...
@@ -12,6 +12,6 @@
%span
.form-text.text-muted
#repository_size_limit_help_block
=
is_project
?
size_limit_message
(
@project
)
:
size_limit_message_for_group
(
@group
)
-
else
=
form
.
number_field
:disabled_repository_size_limit
,
value:
'
0
'
,
class:
'form-control'
,
disabled:
true
=
form
.
number_field
:disabled_repository_size_limit
,
value:
''
,
class:
'form-control'
,
disabled:
true
%span
.form-text.text-muted
=
render
'shared/registration_features_discovery_message'
,
license:
@license
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment