Skip to content
Snippets Groups Projects
Commit 8d92523e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

use badges for commits count in commits list

parent b011bb0d
No related branches found
No related tags found
No related merge requests found
Loading
@@ -348,7 +348,7 @@
Loading
@@ -348,7 +348,7 @@
   
.notes_count { .notes_count {
float: right; float: right;
margin: -6px 8px 6px; margin-right: 10px;
} }
   
code { code {
Loading
Loading
Loading
@@ -16,6 +16,6 @@
Loading
@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment