~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/atom.pt

Added navigating to the parent branch in directory listing by Michael, and a few other UI tweaks by, well, me!

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
  <title>
4
4
    bazaar changes for <tal:branch-name content="branch/friendly_name">branch name</tal:branch-name>
5
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'])" />
 
6
  <updated tal:content="updated">${updated}</updated>
 
7
  <id tal:content="python:branch.url(['/atom'])">url</id>
 
8
  <link rel="self" tal:attributes="href python:branch.url([''])" />
10
9
 
11
10
  <entry tal:repeat="entry changes">
12
 
    <title tal:content="string:${entry/revno}: ${entry/short_comment}">
 
11
    <title tal:content="string: ${entry/revno}: ${entry/short_comment}">
13
12
      ${entry/revno}: ${entry/short_comment}
14
13
    </title>
15
 
    <updated tal:content="string:${entry/utc_date/isoformat}Z">
16
 
      updated
 
14
    <updated tal:content="entry/date/isoformat">
 
15
    Z
17
16
    </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])">
 
17
    <id tal:content="python:branch.url(['/revision', entry.revno])">
20
18
      ID
21
19
    </id>
22
 
    <author tal:repeat="author entry/authors">
23
 
      <name tal:content="python:util.hide_email(author)">
 
20
    <author>
 
21
      <name tal:content="python:util.hide_email(entry.author)">
24
22
        author
25
23
      </name>
26
24
    </author>
27
25
    <content type="text" tal:content="entry/comment">
28
26
      comment
29
27
    </content>
30
 
    <link rel="alternate" type="text/html"
 
28
    <link rel="alternate"
31
29
          tal:attributes="href python:branch.url(['/revision', entry.revno])" />
32
30
  </entry>
33
31
</feed>