blob: 76789a2fc4786a2a730d9b9d6de96644745d1217 (
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
|
[%# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
#%]
[%# INTERFACE:
# classifications: an array of classification objects containing
# at least one product accessible by the user.
#%]
[% IF target == "enter_bug.cgi" %]
[% title = "Select Classification" %]
[% subheader = "Please select the classification." %]
[% END %]
[% DEFAULT title = "Choose the classification" %]
[% PROCESS global/header.html.tmpl %]
<table>
<tr>
<th align="right">
<a href="[% target FILTER uri %]?classification=__all
[% IF cloned_bug_id %]&cloned_bug_id=[% cloned_bug_id FILTER uri %][% END -%]
[%- IF format %]&format=[% format FILTER uri %][% END %]">
All</a>:
</th>
<td valign="top"> Show all products</td>
</tr>
<tr>
<th colspan="2"> </th>
</tr>
[% FOREACH class = classifications %]
<tr>
<th align="right">
<a href="[% target FILTER uri %]?classification=[% class.name FILTER uri -%]
[%- IF cloned_bug_id %]&cloned_bug_id=[% cloned_bug_id FILTER uri %][% END -%]
[%- IF format %]&format=[% format FILTER uri %][% END %]">
[% class.name FILTER html %]</a>:
</th>
[% IF class.description %]
<td valign="top"> [% class.description FILTER html_light %]</td>
[% END %]
</tr>
[% END %]
</table>
[% PROCESS global/footer.html.tmpl %]
|