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)
|
2016-05-21 23:04:28 +00:00
|
|
|
xml.title truncate(commit.title, length: 80)
|
|
|
|
xml.updated commit.committed_date.xmlschema
|
|
|
|
xml.media :thumbnail, width: "40", height: "40", url: image_url(avatar_icon(commit.author_email))
|
|
|
|
|
|
|
|
xml.author do |author|
|
|
|
|
xml.name commit.author_name
|
|
|
|
xml.email commit.author_email
|
|
|
|
end
|
|
|
|
|
|
|
|
xml.summary markdown(commit.description, pipeline: :single_line)
|
|
|
|
end
|