2012-09-24 11:01:44 +02:00
|
|
|
%div{:xmlns => "http://www.w3.org/1999/xhtml"}
|
|
|
|
- event.commits.first(15).each do |commit|
|
|
|
|
%p
|
|
|
|
%strong= commit.author_name
|
|
|
|
= link_to "(##{commit.short_id})", project_commit_path(event.project, :id => commit.id)
|
|
|
|
%i
|
|
|
|
at
|
|
|
|
= commit.committed_date.strftime("%Y-%m-%d %H:%M:%S")
|
2012-10-04 10:06:17 +02:00
|
|
|
%blockquote= simple_format(escape_once(commit.safe_message))
|
2012-09-24 11:01:44 +02:00
|
|
|
- if event.commits_count > 15
|
|
|
|
%p
|
|
|
|
%i
|
|
|
|
\... and
|
|
|
|
= pluralize(event.commits_count - 15, "more commit")
|