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
de4866d6
Commit
de4866d6
authored
Apr 07, 2022
by
Magdalena Frankiewicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve accessibility of Admin application settings page
by removing placeholder from textarea Changelog: changed
parent
794a90a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/views/admin/application_settings/_note_limits.html.haml
app/views/admin/application_settings/_note_limits.html.haml
+2
-2
app/views/admin/application_settings/_users_api_limits.html.haml
...ws/admin/application_settings/_users_api_limits.html.haml
+2
-2
No files found.
app/views/admin/application_settings/_note_limits.html.haml
View file @
de4866d6
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
=
f
.
number_field
:notes_create_limit
,
class:
'form-control gl-form-input'
=
f
.
number_field
:notes_create_limit
,
class:
'form-control gl-form-input'
.form-group
.form-group
=
f
.
label
:notes_create_limit_allowlist
,
_
(
'Users to exclude from the rate limit'
),
class:
'label-bold'
=
f
.
label
:notes_create_limit_allowlist
,
_
(
'Users to exclude from the rate limit'
),
class:
'label-bold'
=
f
.
text_area
:notes_create_limit_allowlist_raw
,
placeholder:
'username1, username2'
,
class:
'form-control gl-form-input'
,
rows:
5
=
f
.
text_area
:notes_create_limit_allowlist_raw
,
class:
'form-control gl-form-input'
,
rows:
5
,
aria:
{
describedBy:
'note-create-limits-allowlist-field-description'
}
.form-text.text-muted
.form-text.text-muted
{
id:
'note-create-limits-allowlist-field-description'
}
=
_
(
'List of users allowed to exceed the rate limit.'
)
=
_
(
'List of users allowed to exceed the rate limit.'
)
...
...
app/views/admin/application_settings/_users_api_limits.html.haml
View file @
de4866d6
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
=
f
.
number_field
:users_get_by_id_limit
,
class:
'form-control gl-form-input'
=
f
.
number_field
:users_get_by_id_limit
,
class:
'form-control gl-form-input'
.form-group
.form-group
=
f
.
label
:users_get_by_id_limit_allowlist_raw
,
_
(
'Users to exclude from the rate limit'
),
class:
'label-bold'
=
f
.
label
:users_get_by_id_limit_allowlist_raw
,
_
(
'Users to exclude from the rate limit'
),
class:
'label-bold'
=
f
.
text_area
:users_get_by_id_limit_allowlist_raw
,
placeholder:
'username1, username2'
,
class:
'form-control gl-form-input'
,
rows:
5
=
f
.
text_area
:users_get_by_id_limit_allowlist_raw
,
class:
'form-control gl-form-input'
,
rows:
5
,
aria:
{
describedBy:
'users-api-limit-users-allowlist-field-description'
}
.form-text.text-muted
.form-text.text-muted
{
id:
'users-api-limit-users-allowlist-field-description'
}
=
_
(
'List of users allowed to exceed the rate limit.'
)
=
_
(
'List of users allowed to exceed the rate limit.'
)
=
f
.
submit
_
(
'Save changes'
),
class:
"gl-button btn btn-confirm"
,
data:
{
qa_selector:
'save_changes_button'
}
=
f
.
submit
_
(
'Save changes'
),
class:
"gl-button btn btn-confirm"
,
data:
{
qa_selector:
'save_changes_button'
}
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