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
0e3758bb
Commit
0e3758bb
authored
Oct 07, 2020
by
Samantha Ming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pluralize Assignee & Reviewers in MR Form
Issue:
https://gitlab.com/gitlab-org/gitlab/-/issues/244835
parent
f3a53fc2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
app/views/shared/issuable/form/_metadata_issuable_assignee.html.haml
...hared/issuable/form/_metadata_issuable_assignee.html.haml
+1
-1
app/views/shared/issuable/form/_metadata_issuable_reviewer.html.haml
...hared/issuable/form/_metadata_issuable_reviewer.html.haml
+1
-1
ee/changelogs/unreleased/244835-update-mr-form-to-use-plural-field-names.yml
...eased/244835-update-mr-form-to-use-plural-field-names.yml
+5
-0
No files found.
app/views/shared/issuable/form/_metadata_issuable_assignee.html.haml
View file @
0e3758bb
=
form
.
label
:assignee_id
,
"Assignee"
,
class:
"col-form-label
#{
has_due_date
?
"col-md-2 col-lg-4"
:
"col-sm-2"
}
"
=
form
.
label
:assignee_id
,
issuable
.
assignees
.
size
>
1
?
_
(
'Assignee'
).
pluralize
:
_
(
'Assignee'
)
,
class:
"col-form-label
#{
has_due_date
?
"col-md-2 col-lg-4"
:
"col-sm-2"
}
"
.col-sm-10
{
class:
(
"col-md-8"
if
has_due_date
)
}
.issuable-form-select-holder.selectbox
-
issuable
.
assignees
.
each
do
|
assignee
|
...
...
app/views/shared/issuable/form/_metadata_issuable_reviewer.html.haml
View file @
0e3758bb
=
form
.
label
:reviewer_id
,
"Reviewer"
,
class:
"col-form-label
#{
has_due_date
?
"col-md-2 col-lg-4"
:
"col-sm-2"
}
"
=
form
.
label
:reviewer_id
,
issuable
.
reviewers
.
size
>
1
?
_
(
'Reviewer'
).
pluralize
:
_
(
'Reviewer'
)
,
class:
"col-form-label
#{
has_due_date
?
"col-md-2 col-lg-4"
:
"col-sm-2"
}
"
.col-sm-10
{
class:
(
"col-md-8"
if
has_due_date
)
}
.issuable-form-select-holder.selectbox
-
issuable
.
reviewers
.
each
do
|
reviewer
|
...
...
ee/changelogs/unreleased/244835-update-mr-form-to-use-plural-field-names.yml
0 → 100644
View file @
0e3758bb
---
title
:
Resolve Update MR form to use plural field names
merge_request
:
41402
author
:
type
:
changed
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