Commit 8d92523e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

use badges for commits count in commits list

parent b011bb0d
...@@ -348,7 +348,7 @@ ...@@ -348,7 +348,7 @@
.notes_count { .notes_count {
float: right; float: right;
margin: -6px 8px 6px; margin-right: 10px;
} }
code { code {
......
...@@ -16,6 +16,6 @@ ...@@ -16,6 +16,6 @@
%span.notes_count %span.notes_count
- notes = @project.notes.for_commit_id(commit.id) - notes = @project.notes.for_commit_id(commit.id)
- if notes.any? - if notes.any?
%span.btn.disabled.grouped %span.badge.badge-info
%i.icon-comment %i.icon-comment
= notes.count = notes.count
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