diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-09-09 16:20:43 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-09-09 16:20:43 +0300 |
commit | 9e9f0551415a8c606105c6277048becff981b460 (patch) | |
tree | 9e80376bb3cc7a55d2427e1fb40c16bf677fbc7a | |
parent | b349af202ff55cfbed8168b9266b43509f014f8e (diff) | |
download | gitlab-ce-9e9f0551415a8c606105c6277048becff981b460.tar.gz |
Move commits dates to left
-rw-r--r-- | app/assets/stylesheets/sections/commits.scss | 15 | ||||
-rw-r--r-- | app/views/projects/commits/_commits.html.haml | 16 |
2 files changed, 24 insertions, 7 deletions
diff --git a/app/assets/stylesheets/sections/commits.scss b/app/assets/stylesheets/sections/commits.scss index faae0e127d9..2f4472a52e1 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 fd0616f9acc..b6eeeb92287 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 |