RSS

(root)/bugzilla/3.4 : /template/en/default/list/list.atom.tmpl (revision 6201)

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

Loggerhead 1.18.1 is a web-based interface for Bazaar branches