From 8d92523ed3683a6fe8066005d26b4777c0b31c6f Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 4 Apr 2013 08:57:07 +0300 Subject: [PATCH] use badges for commits count in commits list --- app/assets/stylesheets/sections/commits.scss | 2 +- app/views/commits/_commit.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/sections/commits.scss b/app/assets/stylesheets/sections/commits.scss index f6ba82a..51a307e 100644 --- a/app/assets/stylesheets/sections/commits.scss +++ b/app/assets/stylesheets/sections/commits.scss @@ -348,7 +348,7 @@ .notes_count { float: right; - margin: -6px 8px 6px; + margin-right: 10px; } code { diff --git a/app/views/commits/_commit.html.haml b/app/views/commits/_commit.html.haml index 65d9203..eba6c20 100644 --- a/app/views/commits/_commit.html.haml +++ b/app/views/commits/_commit.html.haml @@ -16,6 +16,6 @@ %span.notes_count - notes = @project.notes.for_commit_id(commit.id) - if notes.any? - %span.btn.disabled.grouped + %span.badge.badge-info %i.icon-comment = notes.count -- libgit2 0.21.2