2011-11-28 21:16:57 +01:00
|
|
|
- if @commits.size > 0
|
2012-01-29 11:04:09 +01:00
|
|
|
.merge-request-commits
|
2011-11-28 21:16:57 +01:00
|
|
|
- @commits.each do |commit|
|
2012-01-29 11:04:09 +01:00
|
|
|
.entry
|
|
|
|
= link_to project_commit_path(@project, :id => commit.id) do
|
|
|
|
%strong
|
|
|
|
= truncate(commit.id.to_s, :length => 10)
|
|
|
|
= image_tag gravatar_icon(commit.author_email), :class => "", :width => 16
|
|
|
|
%span= truncate(commit.safe_message, :length => 40)
|
|
|
|
%span.right
|
|
|
|
= time_ago_in_words(commit.committed_date)
|
|
|
|
ago
|
2011-11-28 21:16:57 +01:00
|
|
|
|
2011-12-20 07:24:14 +01:00
|
|
|
- if @commits.empty?
|
|
|
|
%p.cgray Nothing to merge
|