~ubuntu-branches/debian/squeeze/bugzilla/squeeze

« back to all changes in this revision

Viewing changes to template/en/default/list/list.atom.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Raphael Bossek
  • Date: 2008-06-27 22:34:34 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080627223434-0ib57vstn43bb4a3
Tags: 3.0.4.1-1
* Update of French, Russian and German translations. (closes: #488251)
* Added Bulgarian and Belarusian translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
[%# 1.0@bugzilla.org %]
2
 
[%# The contents of this file are subject to the Mozilla Public
3
 
  # License Version 1.1 (the "License"); you may not use this file
4
 
  # except in compliance with the License. You may obtain a copy of
5
 
  # the License at http://www.mozilla.org/MPL/
6
 
  #
7
 
  # Software distributed under the License is distributed on an "AS
8
 
  # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
 
  # implied. See the License for the specific language governing
10
 
  # rights and limitations under the License.
11
 
  #
12
 
  # The Original Code is the Bugzilla Bug Tracking System.
13
 
  #
14
 
  # The Initial Developer of the Original Code is Netscape Communications
15
 
  # Corporation. Portions created by Netscape are
16
 
  # Copyright (C) 1998 Netscape Communications Corporation. All
17
 
  # Rights Reserved.
18
 
  #
19
 
  # Contributor(s): Walter Hoehn <wassa@columbia.edu>
20
 
  #                 John Belmonte <john@neggie.net>
21
 
  #                 Jason Remillard <jremillardshop@letterboxes.org>
22
 
  #                 Phil Ringnalda <bugzilla@philringnalda.com>
23
 
  #
24
 
  # This is a template for generating an Atom representation of a buglist. 
25
 
  #%]
26
 
 
27
 
[% PROCESS global/variables.none.tmpl %]
28
 
[% USE date %]
29
 
 
30
 
[% DEFAULT title = "$terms.Bugzilla $terms.Bugs" %]
31
 
 
32
 
<?xml version="1.0"[% IF Param('utf8') %] encoding="UTF-8"[% END %]?>
33
 
<feed xmlns="http://www.w3.org/2005/Atom">
34
 
  <title>[% title FILTER xml %]</title>
35
 
  <link rel="alternate" type="text/html"
36
 
        href="[% Param('urlbase') %]buglist.cgi?
37
 
        [%- urlquerypart.replace('ctype=atom[&]?','') FILTER xml %]"/>
38
 
  <link rel="self" type="application/atom+xml"
39
 
        href="[% Param('urlbase') %]buglist.cgi?
40
 
        [%- urlquerypart FILTER xml %]"/>
41
 
  <updated>[% date.format(format=>"%Y-%m-%dT%H:%M:%SZ",
42
 
              time=>bugs.nsort('changedtime').last.changedtime,
43
 
              gmt=>1) FILTER xml %]</updated>
44
 
  <id>[% Param('urlbase') %]buglist.cgi?[% urlquerypart FILTER xml %]</id>
45
 
 
46
 
  [% FOREACH bug = bugs %]
47
 
  <entry>
48
 
    <title>[% "@" IF bug.secure_mode %][[% terms.Bug %] [%+ bug.bug_id FILTER xml %]] [% bug.short_desc FILTER xml %]</title>
49
 
    <link rel="alternate" type="text/html"
50
 
          href="[% Param('urlbase') FILTER xml %]show_bug.cgi?id=
51
 
          [%- bug.bug_id FILTER xml %]"/>
52
 
    <id>[% Param('urlbase') FILTER xml %]show_bug.cgi?id=[% bug.bug_id FILTER xml %]</id>
53
 
    <author>
54
 
      <name>[% bug.reporter_realname FILTER xml %]</name>
55
 
    </author>
56
 
    <updated>[% date.format(format=>"%Y-%m-%dT%H:%M:%SZ",time=>bug.changedtime,
57
 
                gmt=>1) FILTER xml %]</updated> 
58
 
    <summary type="html">
59
 
      [%# Filter out the entire block, so that we don't need to escape the html code out %]
60
 
      [% FILTER xml %]
61
 
      <table>
62
 
      <tr>
63
 
        <th>Field</th><th>Value</th>
64
 
      </tr><tr>
65
 
        <td>[% columns.opendate.title FILTER html %]</td>
66
 
        <td>[% bug.opendate FILTER html %]</td>
67
 
      </tr><tr>
68
 
        <td>[% columns.assigned_to_realname.title FILTER html %]</td>
69
 
        <td>[% bug.assigned_to_realname FILTER html %]</td>
70
 
      </tr><tr>
71
 
        <td>[% columns.priority.title FILTER html %]</td>
72
 
        <td>[% bug.priority FILTER html %]</td>
73
 
      </tr><tr>
74
 
        <td>[% columns.bug_severity.title FILTER html %] </td>
75
 
        <td>[% bug.bug_severity FILTER html %]</td>
76
 
      </tr><tr>
77
 
        <td>[% columns.bug_status.title FILTER html %]</td>
78
 
        <td>[% bug.bug_status FILTER html %]</td>
79
 
      </tr><tr>
80
 
        <td>[% columns.changeddate.title FILTER html %]</td>
81
 
        <td>[% bug.changeddate FILTER html -%]</td>
82
 
      </tr>
83
 
      </table>
84
 
      [% END %]
85
 
    </summary>
86
 
  </entry>
87
 
  [% END %]
88
 
</feed>