Skip to content
Snippets Groups Projects
Commit 77bde9a0 authored by Riyad Preukschas's avatar Riyad Preukschas
Browse files

Add notes count to commits in lists.

parent 679d0d6d
No related branches found
No related tags found
1 merge request!1629Show numer of notes for commits and merge requests
Loading
Loading
@@ -203,6 +203,11 @@
@extend .cgray;
}
 
.notes_count {
float:right;
margin: -6px 8px 6px;
}
code {
background:#FCEEC1;
color:$style_color;
Loading
Loading
Loading
Loading
@@ -13,3 +13,10 @@
= time_ago_in_words(commit.committed_date)
ago
 
%span.notes_count
- notes = @project.commit_notes(commit) + @project.commit_line_notes(commit)
- if notes.any?
%span.btn.small.disabled.grouped
%i.icon-comment
= notes.count
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment