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