Commit 8d92523ed3683a6fe8066005d26b4777c0b31c6f

Authored by Dmitriy Zaporozhets
1 parent b011bb0d

use badges for commits count in commits list

app/assets/stylesheets/sections/commits.scss
... ... @@ -348,7 +348,7 @@
348 348  
349 349 .notes_count {
350 350 float: right;
351   - margin: -6px 8px 6px;
  351 + margin-right: 10px;
352 352 }
353 353  
354 354 code {
... ...
app/views/commits/_commit.html.haml
... ... @@ -16,6 +16,6 @@
16 16 %span.notes_count
17 17 - notes = @project.notes.for_commit_id(commit.id)
18 18 - if notes.any?
19   - %span.btn.disabled.grouped
  19 + %span.badge.badge-info
20 20 %i.icon-comment
21 21 = notes.count
... ...