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
37d0f988
Commit
37d0f988
authored
Jan 30, 2020
by
Jeremy Elder
Committed by
Fatih Acet
Jan 30, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "Admin Area's "Account and limit" fields could be improved"
parent
1897f18f
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
10 deletions
+33
-10
app/views/admin/application_settings/_account_and_limit.html.haml
...s/admin/application_settings/_account_and_limit.html.haml
+5
-5
app/views/admin/application_settings/general.html.haml
app/views/admin/application_settings/general.html.haml
+1
-1
changelogs/unreleased/28872-admin-area-s-account-and-limit-fields-could-be-improved.yml
...min-area-s-account-and-limit-fields-could-be-improved.yml
+5
-0
ee/app/views/admin/application_settings/_repository_size_limit_setting.html.haml
...ication_settings/_repository_size_limit_setting.html.haml
+1
-1
locale/gitlab.pot
locale/gitlab.pot
+21
-3
No files found.
app/views/admin/application_settings/_account_and_limit.html.haml
View file @
37d0f988
...
@@ -8,20 +8,20 @@
...
@@ -8,20 +8,20 @@
=
f
.
label
:gravatar_enabled
,
class:
'form-check-label'
do
=
f
.
label
:gravatar_enabled
,
class:
'form-check-label'
do
=
_
(
'Gravatar enabled'
)
=
_
(
'Gravatar enabled'
)
.form-group
.form-group
=
f
.
label
:default_projects_limit
,
class:
'label-bold'
=
f
.
label
:default_projects_limit
,
_
(
'Default projects limit'
),
class:
'label-bold'
=
f
.
number_field
:default_projects_limit
,
class:
'form-control'
=
f
.
number_field
:default_projects_limit
,
class:
'form-control'
,
title:
_
(
'Maximum number of projects.'
),
data:
{
toggle:
'tooltip'
,
container:
'body'
}
.form-group
.form-group
=
f
.
label
:max_attachment_size
,
_
(
'Maximum attachment size (MB)'
),
class:
'label-bold'
=
f
.
label
:max_attachment_size
,
_
(
'Maximum attachment size (MB)'
),
class:
'label-bold'
=
f
.
number_field
:max_attachment_size
,
class:
'form-control'
=
f
.
number_field
:max_attachment_size
,
class:
'form-control'
,
title:
_
(
'Maximum size of individual attachments in comments.'
),
data:
{
toggle:
'tooltip'
,
container:
'body'
}
=
render_if_exists
'admin/application_settings/repository_size_limit_setting'
,
form:
f
=
render_if_exists
'admin/application_settings/repository_size_limit_setting'
,
form:
f
.form-group
.form-group
=
f
.
label
:receive_max_input_size
,
_
(
'Maximum push size (MB)'
),
class:
'label-light'
=
f
.
label
:receive_max_input_size
,
_
(
'Maximum push size (MB)'
),
class:
'label-light'
=
f
.
number_field
:receive_max_input_size
,
class:
'form-control qa-receive-max-input-size-field'
=
f
.
number_field
:receive_max_input_size
,
class:
'form-control qa-receive-max-input-size-field'
,
title:
_
(
'Maximum size limit for a single commit.'
),
data:
{
toggle:
'tooltip'
,
container:
'body'
}
.form-group
.form-group
=
f
.
label
:session_expire_delay
,
_
(
'Session duration (minutes)'
),
class:
'label-light'
=
f
.
label
:session_expire_delay
,
_
(
'Session duration (minutes)'
),
class:
'label-light'
=
f
.
number_field
:session_expire_delay
,
class:
'form-control'
=
f
.
number_field
:session_expire_delay
,
class:
'form-control'
,
title:
_
(
'Maximum duration of a session.'
),
data:
{
toggle:
'tooltip'
,
container:
'body'
}
%span
.form-text.text-muted
#session_expire_delay_help_block
=
_
(
'GitLab restart is required to apply changes.'
)
%span
.form-text.text-muted
#session_expire_delay_help_block
=
_
(
'GitLab restart is required to apply changes.'
)
=
render_if_exists
'admin/application_settings/personal_access_token_expiration_policy'
,
form:
f
=
render_if_exists
'admin/application_settings/personal_access_token_expiration_policy'
,
form:
f
...
...
app/views/admin/application_settings/general.html.haml
View file @
37d0f988
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
%button
.btn.js-settings-toggle
{
type:
'button'
}
%button
.btn.js-settings-toggle
{
type:
'button'
}
=
expanded_by_default?
?
_
(
'Collapse'
)
:
_
(
'Expand'
)
=
expanded_by_default?
?
_
(
'Collapse'
)
:
_
(
'Expand'
)
%p
%p
=
_
(
'Se
ssion expiration, projects limit and attachment size
.'
)
=
_
(
'Se
t projects and maximum size limits, session duration, user options, and check feature availability for namespace plan
.'
)
.settings-content
.settings-content
=
render
'account_and_limit'
=
render
'account_and_limit'
...
...
changelogs/unreleased/28872-admin-area-s-account-and-limit-fields-could-be-improved.yml
0 → 100644
View file @
37d0f988
---
title
:
Add clarifying content to account fields
merge_request
:
author
:
type
:
other
ee/app/views/admin/application_settings/_repository_size_limit_setting.html.haml
View file @
37d0f988
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
.form-group
.form-group
=
form
.
label
:repository_size_limit
,
class:
'label-bold'
do
=
form
.
label
:repository_size_limit
,
class:
'label-bold'
do
=
_
(
'Size limit per repository (MB)'
)
=
_
(
'Size limit per repository (MB)'
)
=
form
.
number_field
:repository_size_limit
,
value:
form
.
object
.
repository_size_limit
.
try
(
:to_mb
),
class:
'form-control'
,
min:
0
=
form
.
number_field
:repository_size_limit
,
value:
form
.
object
.
repository_size_limit
.
try
(
:to_mb
),
class:
'form-control'
,
min:
0
,
title:
_
(
'Maximum size limit for each repository.'
),
data:
{
toggle:
'tooltip'
,
container:
'body'
}
%span
.form-text.text-muted
#repository_size_limit_help_block
%span
.form-text.text-muted
#repository_size_limit_help_block
=
_
(
'Includes LFS objects. It can be overridden per group, or per project. 0 for unlimited.'
)
=
_
(
'Includes LFS objects. It can be overridden per group, or per project. 0 for unlimited.'
)
=
link_to
icon
(
'question-circle'
),
help_page_path
(
"user/admin_area/settings/account_and_limit_settings"
)
=
link_to
icon
(
'question-circle'
),
help_page_path
(
"user/admin_area/settings/account_and_limit_settings"
)
locale/gitlab.pot
View file @
37d0f988
...
@@ -6011,6 +6011,9 @@ msgstr ""
...
@@ -6011,6 +6011,9 @@ msgstr ""
msgid "Default project deletion protection"
msgid "Default project deletion protection"
msgstr ""
msgstr ""
msgid "Default projects limit"
msgstr ""
msgid "Default: Directly import the Google Code email address or username"
msgid "Default: Directly import the Google Code email address or username"
msgstr ""
msgstr ""
...
@@ -11565,6 +11568,9 @@ msgstr ""
...
@@ -11565,6 +11568,9 @@ msgstr ""
msgid "Maximum delay (Minutes)"
msgid "Maximum delay (Minutes)"
msgstr ""
msgstr ""
msgid "Maximum duration of a session."
msgstr ""
msgid "Maximum job timeout"
msgid "Maximum job timeout"
msgstr ""
msgstr ""
...
@@ -11583,12 +11589,24 @@ msgstr ""
...
@@ -11583,12 +11589,24 @@ msgstr ""
msgid "Maximum number of mirrors that can be synchronizing at the same time."
msgid "Maximum number of mirrors that can be synchronizing at the same time."
msgstr ""
msgstr ""
msgid "Maximum number of projects."
msgstr ""
msgid "Maximum page reached"
msgid "Maximum page reached"
msgstr ""
msgstr ""
msgid "Maximum push size (MB)"
msgid "Maximum push size (MB)"
msgstr ""
msgstr ""
msgid "Maximum size limit for a single commit."
msgstr ""
msgid "Maximum size limit for each repository."
msgstr ""
msgid "Maximum size of individual attachments in comments."
msgstr ""
msgid "Maximum time between updates that a mirror can have when scheduled to synchronize."
msgid "Maximum time between updates that a mirror can have when scheduled to synchronize."
msgstr ""
msgstr ""
...
@@ -16949,9 +16967,6 @@ msgstr ""
...
@@ -16949,9 +16967,6 @@ msgstr ""
msgid "Session duration (minutes)"
msgid "Session duration (minutes)"
msgstr ""
msgstr ""
msgid "Session expiration, projects limit and attachment size."
msgstr ""
msgid "Set %{epic_ref} as the parent epic."
msgid "Set %{epic_ref} as the parent epic."
msgstr ""
msgstr ""
...
@@ -16991,6 +17006,9 @@ msgstr ""
...
@@ -16991,6 +17006,9 @@ msgstr ""
msgid "Set parent epic to an epic"
msgid "Set parent epic to an epic"
msgstr ""
msgstr ""
msgid "Set projects and maximum size limits, session duration, user options, and check feature availability for namespace plan."
msgstr ""
msgid "Set requirements for a user to sign-in. Enable mandatory two-factor authentication."
msgid "Set requirements for a user to sign-in. Enable mandatory two-factor authentication."
msgstr ""
msgstr ""
...
...
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