summaryrefslogtreecommitdiff
path: root/app/views/issues/_issue.atom.builder
blob: 68a2d19e58dc8a9add675fdc0b29c68b81ea3147 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
xml.entry do
  xml.id      namespace_project_issue_url(issue.project.namespace, issue.project, issue)
  xml.link    href: namespace_project_issue_url(issue.project.namespace, issue.project, issue)
  xml.title   truncate(issue.title, length: 80)
  xml.updated issue.created_at.xmlschema
  xml.media   :thumbnail, width: "40", height: "40", url: image_url(avatar_icon(issue.author_email))

  xml.author do |author|
    xml.name issue.author_name
    xml.email issue.author_email
  end

  xml.summary issue.title
end