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
[%# 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.
#
# Contributor(s): Jack Nerad <jnerad@bellsouth.net>
# Tiago R. Mello <tiago@async.com.br>
# Gabriel S. Oliveira <gabriel@async.com.br>
#%]
[%# INTERFACE:
# product: Bugzilla::Product object; The product
#
# classification: Bugzilla::Classifiation object; classification product is in.
#%]
[% PROCESS "global/field-descs.none.tmpl" %]
[% IF Param('useclassification') %]
<tr>
<th align="right"><b>Classification:</b></th>
<td><b>[% classification.name FILTER html %]</b></td>
</tr>
[% END %]
<tr>
<th align="right">Product:</th>
<td><input size="64" maxlength="64" name="product"
value="[% product.name FILTER html %]">
</td>
</tr>
<tr>
<th align="right">Description:</th>
<td><textarea rows="4" cols="64" wrap="virtual" name="description">
[% product.description FILTER html %]</textarea>
</td>
</tr>
[% IF Param('usetargetmilestone') -%]
<tr>
<th align="right">URL describing milestones for this product:</th>
<td><input type="text" size="64" maxlength="255" name="milestoneurl"
value="[% product.milestoneurl FILTER html %]">
</td>
</tr>
<tr>
<th align="right">Default milestone:</th>
<td>
[% IF product.milestones.size %]
<select name="defaultmilestone">
[% FOREACH m = product.milestones %]
<option value="[% m.name FILTER html %]"
[% " selected=\"selected\"" IF m.name == product.defaultmilestone %]>
[%- m.name FILTER html -%]</option>
[% END %]
</select>
[% ELSE %]
<input type="text" size="20" maxlength="20" name="defaultmilestone"
value="[% product.defaultmilestone FILTER html %]">
[% END %]
</td>
</tr>
[% END %]
<tr>
<th align="right">Closed for [% terms.bug %] entry:</th>
<td><input type="checkbox" name="disallownew" value="1"
[% IF product.disallownew == "1" %]
checked="checked"[% END %]>
</td>
</tr>
[% IF !Param('usevotes') %]
<tr class="param_disabled">
<td colspan="2"
style="font-family: arial; font-style: italic; font-size: 0.7em; text-align: center;">
The 'usevotes' parameter is currently 'off'. These voting
settings will take effect when the parameter is next enabled.</td>
</tr>
[% END %]
<tr [% IF !Param('usevotes') %]class="param_disabled" [% END %]>
<th align="right">Maximum votes per person:</th>
<td><input size="5" maxlength="5" name="votesperuser"
value="[% product.votesperuser FILTER html %]">
</td>
</tr>
<tr [% IF !Param('usevotes') %]class="param_disabled" [% END %]>
<th align="right">
Maximum votes a person can put on a single [% terms.bug %]:
</th>
<td><input size="5" maxlength="5" name="maxvotesperbug"
value="[% product.maxvotesperbug FILTER html %]">
</td>
</tr>
<tr [% IF !Param('usevotes') %]class="param_disabled" [% END %]>
<th align="right">
Confirmation threshold:
</th>
<td>
Enter the number of votes [% terms.abug %] in this product needs to
automatically get out of the
<a href="page.cgi?id=fields.html#status">[% get_status("UNCONFIRMED") FILTER html %]</a>
state.<br>
<input size="5" maxlength="5" name="votestoconfirm"
value="[% product.votestoconfirm FILTER html %]">
</td>
</tr>