~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/atom.pt

[r=SteveA] fix the rendering of revisions that have whitespace only commit messages

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="utf-8"?>
2
 
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:tal="http://xml.zope.org/namespaces/tal">
3
 
  <title>
4
 
    bazaar changes for <tal:branch-name content="branch/friendly_name">branch name</tal:branch-name>
5
 
  </title>
6
 
  <updated tal:content="string:${updated}Z">${updated}</updated>
7
 
  <id tal:content="python:branch.absolute_url(['/atom'])">url</id>
8
 
  <link rel="self" type="application/atom+xml" tal:attributes="href python:branch.absolute_url(['/atom'])" />
9
 
  <link rel="alternate" type="text/html" tal:attributes="href python:branch.url(['/changes'])" />
10
 
 
11
 
  <entry tal:repeat="entry changes">
12
 
    <title tal:content="string:${entry/revno}: ${entry/short_comment}">
13
 
      ${entry/revno}: ${entry/short_comment}
14
 
    </title>
15
 
    <updated tal:content="string:${entry/utc_date/isoformat}Z">
16
 
      updated
17
 
    </updated>
18
 
    <!-- TODO: The feed validator will generate warnings because this is URL-encoded -->
19
 
    <id tal:content="python:branch.absolute_url(['/revision', entry.revno])">
20
 
      ID
21
 
    </id>
22
 
    <author tal:repeat="author entry/authors">
23
 
      <name tal:content="python:util.hide_email(author)">
24
 
        author
25
 
      </name>
26
 
    </author>
27
 
    <content type="text" tal:content="entry/comment">
28
 
      comment
29
 
    </content>
30
 
    <link rel="alternate" type="text/html"
31
 
          tal:attributes="href python:branch.url(['/revision', entry.revno])" />
32
 
  </entry>
33
 
</feed>