2016-05-21 23:04:28 +00:00
|
|
|
xml.entry do
|
2017-06-29 17:06:35 +00:00
|
|
|
xml.id project_commit_url(@project, id: commit.id)
|
|
|
|
xml.link href: project_commit_url(@project, id: commit.id)
|
2018-01-21 11:06:48 +00:00
|
|
|
xml.title truncate(commit.title, length: 80, escape: false)
|
2016-05-21 23:04:28 +00:00
|
|
|
xml.updated commit.committed_date.xmlschema
|
2018-02-09 11:36:35 +00:00
|
|
|
xml.media :thumbnail, width: "40", height: "40", url: image_url(avatar_icon_for_email(commit.author_email))
|
2016-05-21 23:04:28 +00:00
|
|
|
|
|
|
|
xml.author do |author|
|
|
|
|
xml.name commit.author_name
|
|
|
|
xml.email commit.author_email
|
|
|
|
end
|
|
|
|
|
2018-01-21 11:06:48 +00:00
|
|
|
xml.summary markdown(commit.description, pipeline: :single_line), type: 'html'
|
2016-05-21 23:04:28 +00:00
|
|
|
end
|