diff --git a/app/assets/stylesheets/sections/commits.scss b/app/assets/stylesheets/sections/commits.scss index faae0e1..2f4472a 100644 --- a/app/assets/stylesheets/sections/commits.scss +++ b/app/assets/stylesheets/sections/commits.scss @@ -374,6 +374,15 @@ min-width: 65px; font-family: $monospace_font; } + + .row_title { + font-weight: bold; + color: #444; + &:hover { + color: #444; + text-decoration: underline; + } + } } .file-stats a { @@ -496,3 +505,9 @@ li.commit { font-weight: bold; } } + +.commits-row { + padding-bottom: 10px; + margin-bottom: 10px; + border-bottom: 1px solid #DDD; +} diff --git a/app/views/projects/commits/_commits.html.haml b/app/views/projects/commits/_commits.html.haml index fd0616f..b6eeeb9 100644 --- a/app/views/projects/commits/_commits.html.haml +++ b/app/views/projects/commits/_commits.html.haml @@ -1,8 +1,10 @@ - @commits.group_by { |c| c.committed_date.to_date }.sort.reverse.each do |day, commits| - .ui-box.small-box - .title - %i.icon-calendar - %span= day.stamp("28 Aug, 2010") - .pull-right - %small= pluralize(commits.count, 'commit') - %ul.well-list= render commits, project: @project + .row.commits-row + .span2 + %h4 + %i.icon-calendar + %span= day.stamp("28 Aug, 2010") + %p= pluralize(commits.count, 'commit') + .span10 + %ul.well-list + = render commits, project: @project -- libgit2 0.21.2