OSDN Git Service

use badges for commits count in commits list
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Thu, 4 Apr 2013 05:57:07 +0000 (08:57 +0300)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Thu, 4 Apr 2013 05:57:07 +0000 (08:57 +0300)
app/assets/stylesheets/sections/commits.scss
app/views/commits/_commit.html.haml

index f6ba82a..51a307e 100644 (file)
 
   .notes_count {
     float: right;
-    margin: -6px 8px 6px;
+    margin-right: 10px;
   }
 
   code {
index 65d9203..eba6c20 100644 (file)
@@ -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