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