2016-06-16 23:09:34 +05:30
|
|
|
xml.entry do
|
2017-09-10 17:25:29 +05:30
|
|
|
xml.id project_commit_url(@project, id: commit.id)
|
|
|
|
xml.link href: project_commit_url(@project, id: commit.id)
|
2018-03-17 18:26:18 +05:30
|
|
|
xml.title truncate(commit.title, length: 80, escape: false)
|
2016-06-16 23:09:34 +05:30
|
|
|
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
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
xml.summary markdown(commit.description, pipeline: :single_line), type: 'html'
|
2016-06-16 23:09:34 +05:30
|
|
|
end
|