Commit 983d6a76 authored by Rémy Coutable's avatar Rémy Coutable

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
......@@ -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
......
---
title: Show notes number more user-friendly in the graph
merge_request: 13949
author: Vladislav Kaverin
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment