~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/atom.pt

  • Committer: Launchpad Patch Queue Manager
  • Date: 2008-03-10 02:28:26 UTC
  • mfrom: (148.3.6 better-date-presentation)
  • Revision ID: launchpad@pqm.canonical.com-20080310022826-1a4xljsczmn1uyvc
[r=jamesh] use a more space-efficient, launchpad-like way of presenting dates

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