summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/show-multiple.html.tmpl
blob: caacad766de68409b4ca661f08445687af992d63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
[%# 1.0@bugzilla.org %]
[%# The contents of this file are subject to the Mozilla Public
  # License Version 1.1 (the "License"); you may not use this file
  # except in compliance with the License. You may obtain a copy of
  # the License at http://www.mozilla.org/MPL/
  #
  # Software distributed under the License is distributed on an "AS
  # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  # implied. See the License for the specific language governing
  # rights and limitations under the License.
  #
  # The Original Code is the Bugzilla Bug Tracking System.
  #
  # The Initial Developer of the Original Code is Netscape Communications
  # Corporation. Portions created by Netscape are
  # Copyright (C) 1998 Netscape Communications Corporation. All
  # Rights Reserved.
  #
  # Contributor(s): Terry Weissman <terry@mozilla.org>
  #                 Gervase Markham <gerv@gerv.net>
  #%]

[% PROCESS global/variables.none.tmpl %]

[% PROCESS global/header.html.tmpl
  title = "Full Text $terms.Bug Listing"
  style_urls = [ "skins/standard/show_multiple.css" ]
%]
[% PROCESS bug/time.html.tmpl %]
[% IF bugs.first %]
  [% FOREACH bug = bugs %]
    [% PROCESS bug_display %]
  [% END %]
[% ELSE %]
  <p>
    You'd have more luck if you gave me some [% terms.bug %] numbers.
  </p>
[% END %]


[% PROCESS global/footer.html.tmpl %]


[%###########################################################################%]
[%# Block for an individual bug                                             #%]
[%###########################################################################%]

[% BLOCK bug_display %]
  <div align="center">
    <b>
      <font size="+3">[% terms.Bug %] [%+ bug.bug_id %] - [% bug.short_desc FILTER html %]</font>
    </b>
  </div>

  <table width="100%">
    <tr>
      <td>
        <b>[% terms.Bug %]#:</b>
        <a href="show_bug.cgi?id=[% bug.bug_id %]">[% bug.bug_id %]</a>
        [% IF Param("usebugaliases") AND bug.alias %]  
          ([% bug.alias FILTER html %])
        [% END %]
      </td>
      <td>
        <b> Product: </b>&nbsp;
        [% IF Param("useclassification") %]
          [[% bug.classification FILTER html %]]&nbsp;
        [% END %]
        [% bug.product FILTER html %]
      </td>

      [% PROCESS cell attr = { description => "Version",
                               name => "version" } %]
      [% PROCESS cell attr = { description => "Platform",
                               name => "rep_platform" } %]
    </tr>

    <tr>
      [% PROCESS cell attr = { description => "OS/Version",
                               name => "op_sys" } %]
      [% PROCESS cell attr = { description => "Status",
                               name => "bug_status" } %]
      [% PROCESS cell attr = { description => "Severity",
                               name => "bug_severity" } %]
      [% PROCESS cell attr = { description => "Priority",
                               name => "priority" } %]
    </tr>

    <tr>
      [% PROCESS cell attr = { description => "Resolution",
                               name => "resolution" } %]
      <td>
        <b>Assigned To:</b>&nbsp;
        [% bug.assigned_to.login FILTER html %]
      </td>
      <td>
        <b>Reported By:</b>&nbsp;
        [% bug.reporter.login FILTER html %]
      </td>
      [% IF Param('useqacontact') %]
        <td>
          <b>QA Contact:</b>&nbsp;
          [% bug.qa_contact.login FILTER html %]
        </td>
      [% END %]
    </tr>

    <tr>
      <td colspan="2">
        <b>Component:</b>&nbsp;
        [% bug.component FILTER html %]
      </td>

      <td colspan="2">
      [% IF Param('usetargetmilestone') %]
          <b>Target Milestone:</b>&nbsp;
          [% bug.target_milestone FILTER html %]
      [% END %]
      </td>
    </tr>

    <tr>
      <td colspan="4">
        <b>URL:</b>&nbsp;
        [% IF bug.bug_file_loc 
           AND NOT bug.bug_file_loc.match("^(javascript|data)") %]
          <a href="[% bug.bug_file_loc FILTER html %]">
                   [% bug.bug_file_loc FILTER html %]</a>
        [% ELSE %]
          [% bug.bug_file_loc FILTER html %]
        [% END %]
    </tr>

    <tr>
      <td colspan="4">
        <b>Summary:</b>&nbsp;[% bug.short_desc FILTER html %]
      </td>
    </tr>

    [% IF use_keywords %]
      <tr>
        <td colspan="4">
          <b>Keywords: </b>&nbsp;[% bug.keywords FILTER html %]
        </td>
      </tr>
    [% END %]

    [% IF Param("usestatuswhiteboard") %]
      <tr>
        <td colspan="4">
          <b>Status Whiteboard:</b>&nbsp;
          [% bug.status_whiteboard FILTER html %]
        </td>
      </tr>
    [% END %]

    [% IF UserInGroup(Param("timetrackinggroup")) %]
      <tr>
        <td colspan="4">
          <b>Orig. Est.:</b>&nbsp;
          [% PROCESS formattimeunit time_unit=bug.estimated_time %]
          &nbsp;
          <b>Current Est.:</b>&nbsp;
          [% PROCESS formattimeunit
                     time_unit=(bug.remaining_time + bug.actual_time) %]
          &nbsp;
          <b>Hours Worked:</b>&nbsp;
          [% PROCESS formattimeunit time_unit=bug.actual_time %]&nbsp;
          <b>Hours Left:</b>&nbsp;
          [% PROCESS formattimeunit time_unit=bug.remaining_time %]
          &nbsp;
          <b>Percentage Complete:</b>&nbsp;
          [% PROCESS calculatepercentage act=bug.actual_time
                                         rem=bug.remaining_time %]&nbsp;
          <b>Gain</b>&nbsp;
          [% PROCESS formattimeunit
                     time_unit=bug.estimated_time - (bug.actual_time + bug.remaining_time) %]
          &nbsp;
          <b>Deadline:</b>&nbsp;
          [% bug.deadline %]
        </td>
      </tr>
    [% END %]

    <tr>
      <td colspan="4">
        <b>Opened:</b>&nbsp;
        [% bug.creation_ts FILTER time %]
      </td>
    </tr>
  </table>

  [% PROCESS bug/comments.html.tmpl
     comments = bug.longdescs %]

  <hr>
[% END %]


[%###########################################################################%]
[%# Block for standard table cells                                          #%]
[%###########################################################################%]

[% BLOCK cell %]
  <td>
    <b>[% attr.description FILTER html %]:</b>&nbsp;
    [% bug.${attr.name} FILTER html %]
  </td>
[% END %]