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