diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-04 08:57:07 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-04 08:57:07 +0300 |
commit | 8d92523ed3683a6fe8066005d26b4777c0b31c6f (patch) | |
tree | 0ab374b65df48ca2f90c91dc71004540e321238e | |
parent | b011bb0de8d25767582af58d6b89f586a6fbe083 (diff) | |
download | gitlab-ce-8d92523ed3683a6fe8066005d26b4777c0b31c6f.tar.gz |
use badges for commits count in commits list
-rw-r--r-- | app/assets/stylesheets/sections/commits.scss | 2 | ||||
-rw-r--r-- | 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 f6ba82a9bcf..51a307e4d4e 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 65d920305b1..eba6c206c46 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 |