gitlabhq/app/views/commits/_commits.html.haml

20 lines
768 B
Plaintext
Raw Normal View History

2011-10-08 23:36:38 +02:00
- @commits.group_by { |c| c.committed_date.to_date }.each do |day, commits|
2011-11-01 11:48:26 +01:00
%div{ :class => "commits-date ui-box ui-box-small ui-box-big" }
.day-commits-table
2012-01-27 07:57:55 +01:00
%h5.underlined= day.stamp("28 Aug, 2010")
2012-01-29 20:58:31 +01:00
%br
2012-01-27 07:57:55 +01:00
%ul.unstyled
2011-11-01 11:48:26 +01:00
- commits.each do |commit|
2012-01-29 20:58:31 +01:00
%li.entry
= link_to project_commit_path(@project, :id => commit.id) do
%div
2012-01-28 15:47:55 +01:00
%strong
2012-01-29 20:58:31 +01:00
= truncate commit.id.to_s, :length => 10
–
= image_tag gravatar_icon(commit.author_email), :class => "", :width => 16
= truncate(commit.safe_message, :length => 50)
%span.right.cgray
= time_ago_in_words(commit.committed_date)
ago