2013-04-05 12:47:12 -04:00
|
|
|
%div{xmlns: "http://www.w3.org/1999/xhtml"}
|
2012-09-24 05:01:44 -04:00
|
|
|
- event.commits.first(15).each do |commit|
|
|
|
|
%p
|
2013-04-05 12:47:12 -04:00
|
|
|
%strong= commit[:author][:name]
|
|
|
|
= link_to "(##{commit[:id][0...8]})", project_commit_path(event.project, id: commit[:id])
|
2012-09-24 05:01:44 -04:00
|
|
|
%i
|
|
|
|
at
|
2013-04-05 12:47:12 -04:00
|
|
|
= commit[:timestamp].to_time.to_s(:short)
|
2014-07-01 09:29:58 -04:00
|
|
|
%blockquote= markdown(escape_once(commit[:message]))
|
2012-09-24 05:01:44 -04:00
|
|
|
- if event.commits_count > 15
|
|
|
|
%p
|
|
|
|
%i
|
|
|
|
\... and
|
|
|
|
= pluralize(event.commits_count - 15, "more commit")
|