2014-09-02 18:07:02 +05:30
|
|
|
%div{xmlns: "http://www.w3.org/1999/xhtml"}
|
|
|
|
- event.commits.first(15).each do |commit|
|
|
|
|
%p
|
|
|
|
%strong= commit[:author][:name]
|
2015-04-26 12:48:37 +05:30
|
|
|
= link_to "(##{truncate_sha(commit[:id])})", namespace_project_commit_path(event.project.namespace, event.project, id: commit[:id])
|
2014-09-02 18:07:02 +05:30
|
|
|
%i
|
|
|
|
at
|
|
|
|
= commit[:timestamp].to_time.to_s(:short)
|
2016-06-16 23:09:34 +05:30
|
|
|
%blockquote= markdown(escape_once(commit[:message]), pipeline: :atom, project: event.project, author: event.author)
|
2014-09-02 18:07:02 +05:30
|
|
|
- if event.commits_count > 15
|
|
|
|
%p
|
|
|
|
%i
|
|
|
|
\... and
|
|
|
|
= pluralize(event.commits_count - 15, "more commit")
|