r325: - All custom field data in showreport.php is now handled by construct_custom_fi...
[bugdar.git] / templates / showreport.tpl
1 $doctype
2 $headinclude
3 $header
4
5 <form name="bugreport" action="editreport.php" method="post">
6 <input type="hidden" name="do" value="update" />
7 <input type="hidden" name="bugid" value="$bug[bugid]" />
8
9 <table width="100%" cellspasing="$stylevar[spacing_border]" cellpadding="$stylevar[padding]" border="$stylevar[border]" class="tborder">
10 <tr>
11 <!-- bug id & hidden -->
12 <td class="tlabel">Bug ID</td>
13 <td class="tdata">
14 $bug[bugid]
15
16 <if condition="$show['edit']">
17 /
18 <strong<if condition="$bug['hidden']"> class="error"</if>>Hidden:</strong>
19 <input type="checkbox" name="hidden" value="1"<if condition="$bug['hidden']"> checked="checked"</if> />
20 <else />
21 <if condition="$bug['hidden']"> / <span class="error">Hidden Bug</span></if>
22 </if>
23 </td>
24 <!-- / bug id & hidden -->
25
26 <!-- summary -->
27 <td class="tlabel">Summary</td>
28 <td class="tdata">
29 <if condition="$show['edit']">
30 <input type="text" name="summary" size="25" value="$bug[summary]" style="width: 100%" />
31 <else />
32 $bug[summary]
33 </if>
34 </td>
35 <!-- / summary -->
36 </tr>
37 <tr>
38 <!-- reporter -->
39 <td class="tlabel">Reporter</td>
40 <td class="tdata">$bug[userinfo]</td>
41 <!-- / reporter -->
42
43 <!-- product -->
44 <td class="tlabel">Product/Version</td>
45 <td class="tdata">
46 <if condition="$show['edit']">
47 <select name="pcv_select">$pcv_select</select>
48 <else />
49 $bug[product] <if condition="$bug['componentid']">/ $bug[component]</if> / $bug[version]
50 </if>
51 </td>
52 <!-- / product -->
53 </tr>
54 <tr>
55 <!-- reporting time -->
56 <td class="tlabel">Report Time</td>
57 <td class="tdata">$bug[datetime]</td>
58 <!-- / reporting time -->
59
60 <!-- assignment -->
61 <td class="tlabel">Assignment</td>
62 <td class="tdata">
63 <if condition="$show['assign']">
64 <select name="assignedto"><option value="0"<if condition="!$bug['assignedto']"> selected="selected"</if>>No Assignment</option>$select[dev]</select>
65 <else />
66 $bug[assigninfo]
67 </if>
68 </td>
69 <!-- / assignment -->
70 </tr>
71 <tr>
72 <!-- status -->
73 <td class="tlabel">Status</td>
74 <td class="tdata">
75 <if condition="$show['changestatus']">
76 <select name="status">$select[status]</select>
77 <else />
78 $bug[status]
79 </if>
80 </td>
81 <!-- / status -->
82
83 <!-- resolution -->
84 <td class="tlabel">Resolution</td>
85 <td class="tdata">
86 <if condition="$show['changestatus']">
87 <select name="resolution">$select[resolution]</select>
88 <else />
89 $bug[resolution]
90 </if>
91 </td>
92 <!-- / resolution -->
93 </tr>
94 <tr>
95 <!-- severity -->
96 <td class="tlabel">Severity</td>
97 <td class="tdata">
98 <if condition="$show['edit']">
99 <select name="severity">$select[severity]</select>
100 <else />
101 $bug[severity]
102 </if>
103 </td>
104 <!-- / severity -->
105
106 <!-- priority -->
107 <td class="tlabel">Priority</td>
108 <td class="tdata">
109 <if condition="$show['changestatus']">
110 <select name="priority">$select[priority]</select>
111 <else />
112 $bug[priority]
113 </if>
114 </td>
115 <!-- / priority -->
116 </tr>
117 <tr>
118 <!-- duplicate -->
119 <td class="tlabel">Duplicate Of</td>
120 <td class="tdata">
121 <if condition="$show['edit']">
122 <input type="text" name="duplicateof" size="10" value="<if condition="$bug['duplicateof']">$bug[duplicateof]</if>" />
123 <if condition="$bug['duplicateof']"><a href="showreport.php?bugid=$bug[duplicateof]" title="$duplicate[summary]" target="_blank">$duplicate[bugid]</a></if>
124 <else />
125 <a href="showreport.php?bugid=$bug[duplicateof]">$duplicateof[summary]</a>
126 </if>
127 </td>
128 <!-- / duplicate -->
129
130 <!-- dependencies -->
131 <td class="tlabel">Dependencies</td>
132 <td class="tdata">
133 <if condition="$show['edit']">
134 <input type="text" name="dependency" size="25" value="$bug[dependency]" /> $dependencies
135 <else />
136 $dependencies
137 </if>
138 </td>
139 <!-- / dependencies -->
140 </tr>
141
142 <!-- spacer -->
143 <tr>
144 <td colspan="4" style="height: 1px"></td>
145 </tr>
146 <!-- / spacer -->
147
148 $customfields
149
150 <!-- spacer -->
151 <tr>
152 <td colspan="4" style="height: 1px"></td>
153 </tr>
154 <!-- / spacer -->
155
156 <if condition="$show['newreply'] OR $show['edit']">
157 <!-- new comment -->
158 <tr>
159 <td class="tlabel" colspan="<if condition="$show['newreply']">2" style="vertical-align: top"<else />4"</if>>
160 <if condition="$show['newreply']">New Reply</if>
161
162 <if condition="$show['edit']"><div<if condition="$show['newreply']"> style="margin-top: 15px"</if>>Automatic Action: <select name="autoaction">$select[autoaction]</select></div></if>
163 </td>
164 <if condition="$show['newreply']"><td class="tdata" colspan="2"><textarea name="comment" cols="50" rows="10" style="width: 100%"></textarea></td></if>
165 </tr>
166 <!-- / new comment -->
167 </if>
168
169 <!-- submit row -->
170 <tr>
171 <td colspan="4" class="tfoot">
172 <input type="submit" name="submit" value=" Commit Changes " accesskey="s" />
173 <input type="reset" name="reset" value=" Reset Fields " accesskey="r" />
174 </td>
175 </tr>
176 <!-- / submit row -->
177 </table>
178
179 <div>[<a href="showhistory.php?bugid=$bug[bugid]">Show Bug History</a>]<if condition="$bugsys->userinfo['userid']"> [<a href="favourite.php?do=handle&amp;bugid=$bug[bugid]">$favouritetext</a>]</div>
180
181 <br />
182
183 <if condition="$show['getattachments'] OR $show['putattachments']">
184 <table border="1" cellspacing="2" cellpadding="4">
185 <thead style="background-color: #EEEEEE">
186 <tr>
187 <td>Attachments</td>
188 </tr>
189 </thead>
190 <tbody>
191 $attachments
192 <if condition="$show['putattachments']">
193 <tr>
194 <td style="background-color: #999999">[<a href="attachment.php?do=add&amp;bugid=$bug[bugid]">Add New Attachment</a>]</td>
195 </tr>
196 </if>
197 </tbody>
198 </table>
199
200 <br />
201 </if>
202
203 <table border="1" cellspacing="2" cellpadding="4">
204 <thead style="background-color: #EEEEEE">
205 <tr>
206 <td>Votes for this Bug</td>
207 </tr>
208 </thead>
209 <tbody>
210 <tr>
211 <td>
212 <strong>Votes for this Bug:</strong> $vote[votefor] ($vote[forpercent]%)<br />
213 <strong>Votes against this bug:</strong> $vote[voteagainst] ($vote[againstpercent]%)<br />
214 <strong>Total Votes:</strong> $vote[total]
215 </td>
216 </tr>
217
218 <if condition="$show['vote']">
219 <tr>
220 <td>
221 <form name="vote" action="vote.php" method="post">
222 <input type="hidden" name="do" value="vote" />
223 <input type="hidden" name="bugid" value="$bug[bugid]" />
224
225 <input type="radio" name="vote" value="1" /> Vote For (+1)<br />
226 <input type="radio" name="vote" value="-1" /> Vote Against (-1)<br />
227 <input type="submit" name="submit" value="Vote" />
228
229 </form>
230 </td>
231 </tr>
232 </if>
233 </tbody>
234 </table>
235
236 <br />
237
238 $comments
239
240 <if condition="$show['newreply']"><div>[<a href="newcomment.php?bugid=$bug[bugid]">New Comment</a>]</div></if>
241
242 $footer