20 lines
843 B
Plaintext
20 lines
843 B
Plaintext
- @commits.group_by { |c| c.committed_date.to_date }.each do |day, commits|
|
|
%div{ :class => "commits-date ui-box ui-box-small ui-box-big" }
|
|
.day-commits-table
|
|
%h5.underlined= day.stamp("28 Aug, 2010")
|
|
%ul.unstyled
|
|
- commits.each do |commit|
|
|
%li
|
|
%a{ :class => "update-item", :href => project_commit_path(@project, :id => commit.id) }
|
|
.right.btn
|
|
= truncate(commit.id.to_s, :length => 10)
|
|
»
|
|
= image_tag gravatar_icon(commit.author_email), :class => "avatar", :width => 32
|
|
%div
|
|
%strong
|
|
= truncate(commit.safe_message, :length => 50)
|
|
%span.update-author
|
|
%strong= commit.author_name
|
|
= time_ago_in_words(commit.committed_date)
|
|
ago
|