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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
4224124d
Commit
4224124d
authored
Mar 10, 2017
by
Bob Van Landuyt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update copy
One comments *on* something, not *in* something
parent
ea70a0d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/services/issues/build_service.rb
app/services/issues/build_service.rb
+1
-1
No files found.
app/services/issues/build_service.rb
View file @
4224124d
...
@@ -39,7 +39,7 @@ module Issues
...
@@ -39,7 +39,7 @@ module Issues
other_note_count
=
discussion
.
notes
.
size
-
1
other_note_count
=
discussion
.
notes
.
size
-
1
note_url
=
Gitlab
::
UrlBuilder
.
build
(
first_note
)
note_url
=
Gitlab
::
UrlBuilder
.
build
(
first_note
)
discussion_info
=
"- [ ]
#{
first_note
.
author
.
to_reference
}
commented
i
n a [discussion](
#{
note_url
}
): "
discussion_info
=
"- [ ]
#{
first_note
.
author
.
to_reference
}
commented
o
n a [discussion](
#{
note_url
}
): "
discussion_info
<<
" (+
#{
other_note_count
}
#{
'comment'
.
pluralize
(
other_note_count
)
}
)"
if
other_note_count
>
0
discussion_info
<<
" (+
#{
other_note_count
}
#{
'comment'
.
pluralize
(
other_note_count
)
}
)"
if
other_note_count
>
0
note_without_block_quotes
=
Banzai
::
Filter
::
BlockquoteFenceFilter
.
new
(
first_note
.
note
).
call
note_without_block_quotes
=
Banzai
::
Filter
::
BlockquoteFenceFilter
.
new
(
first_note
.
note
).
call
...
...
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