r322: You can now edit fields on showreport.php
[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 <if condition="$show['edit']">
10 <div><strong<if condition="$bug['hidden']"> style="color: red"</if>>Hidden:</strong> <input type="checkbox" name="hidden" value="1"<if condition="$bug['hidden']"> checked="checked"</if> /></div>
11 <else />
12 <if condition="$bug['hidden']"><div><strong style="color: red">This bug is hidden!</strong></div></if>
13 </if>
14
15 <div><strong>Bug ID:</strong> $bug[bugid]</div>
16 <div><strong>Reported by:</strong> $bug[userinfo]</div>
17
18 <if condition="$show['edit']">
19 <div><strong>Summary/Title:</strong> <input type="text" name="summary" size="25" value="$bug[summary]" /></div>
20 <div><strong>Severity:</strong> <select name="severity">$select[severity]</select></div>
21
22 <if condition="$show['changestatus']">
23 <div><strong>Priority:</strong> <select name="priority">$select[priority]</select></div>
24 <div><strong>Status:</strong> <select name="status">$select[status]</select></div>
25 <div><strong>Resolution:</strong> <select name="resolution">$select[resolution]</select></div>
26 </if>
27
28 <if condition="$show['assign']">
29 <div><strong>Assigned to:</strong> <select name="assignedto"><option value="0"<if condition="!$bug['assignedto']"> selected="selected"</if>>No Assignment</option>$select[dev]</select></div>
30 </if>
31
32 <div><strong>Duplicate of:</strong> <input type="text" name="duplicateof" size="10" value="<if condition="$bug['duplicateof']">$bug[duplicateof]</if>" /> <if condition="$bug['duplicateof']"><a href="showreport.php?bugid=$bug[duplicateof]" target="_blank">$duplicate[summary]</a></if></div>
33
34 <div><strong>Dependencies:</strong> <input type="text" name="dependency" size="25" value="$bug[dependency]" /> $dependencies</div>
35
36 <div><strong>Product/Component/Version:</strong>
37 <div>$pcv_select</div>
38 </div>
39
40 <div><strong>Automatic Response Action:</strong>
41 <div><select name="autoaction">$select[autoaction]</select></div>
42 </div>
43
44 $customfields
45 <else />
46 <div><strong>Product:</strong> $bug[product] <if condition="$bug['componentid']">/ <strong>Component:</strong> $bug[component]</if> / <strong>Version:</strong> $bug[version]</div>
47 <div><strong>Title / summary:</strong> $bug[summary]</div>
48 <div><strong>Status:</strong> $bug[status] / <strong>Resolution:</strong> $bug[resolution]</div>
49 <div><strong>Severity:</strong> $bug[severity]</div>
50 <div><strong>Priority:</strong> $bug[priority]</div>
51 <if condition="$bug['assigninfo']"><div><strong>Assigned to:</strong> $bug[assigninfo]</div></if>
52 <if condition="$bug['duplicateof']"><div><strong>Duplicate of:</strong> <a href="showreport.php?bugid=$bug[duplicateof]">$duplicateof[summary]</a></div></if>
53 <if condition="$dupelist"><div><strong>Bugs marked as duplicates of this:</strong> $dupelist</div></if>
54 <if condition="$dependencies"><div><strong>Dependencies:</strong> $dependencies</div></if>
55 $customfields
56 </if>
57
58 <div><input type="submit" name="submit" value="Save Changes" /></div>
59 </form>
60
61 <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>
62
63 <br />
64
65 <if condition="$show['getattachments'] OR $show['putattachments']">
66 <table border="1" cellspacing="2" cellpadding="4">
67 <thead style="background-color: #EEEEEE">
68 <tr>
69 <td>Attachments</td>
70 </tr>
71 </thead>
72 <tbody>
73 $attachments
74 <if condition="$show['putattachments']">
75 <tr>
76 <td style="background-color: #999999">[<a href="attachment.php?do=add&amp;bugid=$bug[bugid]">Add New Attachment</a>]</td>
77 </tr>
78 </if>
79 </tbody>
80 </table>
81
82 <br />
83 </if>
84
85 <table border="1" cellspacing="2" cellpadding="4">
86 <thead style="background-color: #EEEEEE">
87 <tr>
88 <td>Votes for this Bug</td>
89 </tr>
90 </thead>
91 <tbody>
92 <tr>
93 <td>
94 <strong>Votes for this Bug:</strong> $vote[votefor] ($vote[forpercent]%)<br />
95 <strong>Votes against this bug:</strong> $vote[voteagainst] ($vote[againstpercent]%)<br />
96 <strong>Total Votes:</strong> $vote[total]
97 </td>
98 </tr>
99
100 <if condition="$show['vote']">
101 <tr>
102 <td>
103 <form name="vote" action="vote.php" method="post">
104 <input type="hidden" name="do" value="vote" />
105 <input type="hidden" name="bugid" value="$bug[bugid]" />
106
107 <input type="radio" name="vote" value="1" /> Vote For (+1)<br />
108 <input type="radio" name="vote" value="-1" /> Vote Against (-1)<br />
109 <input type="submit" name="submit" value="Vote" />
110
111 </form>
112 </td>
113 </tr>
114 </if>
115 </tbody>
116 </table>
117
118 <br />
119
120 $comments
121
122 <if condition="$show['newreply']"><div>[<a href="newcomment.php?bugid=$bug[bugid]">New Comment</a>]</div></if>
123
124 $footer