_commits.html.haml 283 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 - @commits.group_by { |c| c.committed_date.to_date }.sort.reverse.each do |day, commits| %div.ui-box %h5.title %i.icon-calendar %span= day.stamp("28 Aug, 2010") .pull-right %small= pluralize(commits.count, 'commit') %ul.well-list= render commits