Commit 8d92523ed3683a6fe8066005d26b4777c0b31c6f
1 parent
b011bb0d
Exists in
master
and in
4 other branches
use badges for commits count in commits list
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/assets/stylesheets/sections/commits.scss
app/views/commits/_commit.html.haml
@@ -16,6 +16,6 @@ | @@ -16,6 +16,6 @@ | ||
16 | %span.notes_count | 16 | %span.notes_count |
17 | - notes = @project.notes.for_commit_id(commit.id) | 17 | - notes = @project.notes.for_commit_id(commit.id) |
18 | - if notes.any? | 18 | - if notes.any? |
19 | - %span.btn.disabled.grouped | 19 | + %span.badge.badge-info |
20 | %i.icon-comment | 20 | %i.icon-comment |
21 | = notes.count | 21 | = notes.count |