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