BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
983d6a76
Commit
983d6a76
authored
Sep 08, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bugfix/graph-friendly-notes-number' into 'master'
Print notes number explained in the graph. Closes #37224 See merge request !13949
parents
e8e2e8ca
fee5e17f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
graph_helper.rb
app/helpers/graph_helper.rb
+2
-1
bugfix-graph-friendly-notes-number.yml
changelogs/unreleased/bugfix-graph-friendly-notes-number.yml
+5
-0
No files found.
app/helpers/graph_helper.rb
View file @
983d6a76
...
...
@@ -7,7 +7,8 @@ module GraphHelper
refs
<<
commit_refs
.
join
(
' '
)
# append note count
refs
<<
"[
#{
@graph
.
notes
[
commit
.
id
]
}
]"
if
@graph
.
notes
[
commit
.
id
]
>
0
notes_count
=
@graph
.
notes
[
commit
.
id
]
refs
<<
"[
#{
notes_count
}
#{
pluralize
(
notes_count
,
'note'
)
}
]"
if
notes_count
>
0
refs
end
...
...
changelogs/unreleased/bugfix-graph-friendly-notes-number.yml
0 → 100644
View file @
983d6a76
---
title
:
Show notes number more user-friendly in the graph
merge_request
:
13949
author
:
Vladislav Kaverin
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