r295: Added global page elements to main pages.
[bugdar.git] / templates / showreport.tpl
1 $doctype
2 $headinclude
3 $header
4
5 <if condition="$bug['hidden']"><div><strong style="color: red">This bug is hidden!</strong></div></if>
6
7 <div><strong>Bug ID:</strong> $bug[bugid]</div>
8 <div><strong>Reported by:</strong> $bug[userinfo]</div>
9 <div><strong>Product:</strong> $bug[product] <if condition="$bug['componentid']">/ <strong>Component:</strong> $bug[component]</if> / <strong>Version:</strong> $bug[version]</div>
10 <div><strong>Title / summary:</strong> $bug[summary]</div>
11 <div><strong>Status:</strong> $bug[status] / <strong>Resolution:</strong> $bug[resolution]</div>
12 <div><strong>Severity:</strong> $bug[severity]</div>
13 <div><strong>Priority:</strong> $bug[priority]</div>
14 <if condition="$bug['assigninfo']"><div><strong>Assigned to:</strong> $bug[assigninfo]</div></if>
15 <if condition="$bug['duplicateof']"><div><strong>Duplicate of:</strong> <a href="showreport.php?bugid=$bug[duplicateof]">$duplicateof[summary]</a></div></if>
16 <if condition="$dupelist"><div><strong>Bugs marked as duplicates of this:</strong> $dupelist</div></if>
17 <if condition="$dependencies"><div><strong>Dependencies:</strong> $dependencies</div></if>
18
19 $customfields
20
21 <div>[<a href="showhistory.php?bugid=$bug[bugid]">Show Bug History</a>]<if condition="$show['editreport']"> [<a href="editreport.php?bugid=$bug[bugid]">Edit Bug Report</a>]</if><if condition="$bugsys->userinfo['userid']"> [<a href="favourite.php?do=handle&amp;bugid=$bug[bugid]">$favouritetext</a>]</div>
22
23 <br />
24
25 <if condition="$show['getattachments'] OR $show['putattachments']">
26 <table border="1" cellspacing="2" cellpadding="4">
27 <thead style="background-color: #EEEEEE">
28 <tr>
29 <td>Attachments</td>
30 </tr>
31 </thead>
32 <tbody>
33 $attachments
34 <if condition="$show['putattachments']">
35 <tr>
36 <td style="background-color: #999999">[<a href="attachment.php?do=add&amp;bugid=$bug[bugid]">Add New Attachment</a>]</td>
37 </tr>
38 </if>
39 </tbody>
40 </table>
41
42 <br />
43 </if>
44
45 <table border="1" cellspacing="2" cellpadding="4">
46 <thead style="background-color: #EEEEEE">
47 <tr>
48 <td>Votes for this Bug</td>
49 </tr>
50 </thead>
51 <tbody>
52 <tr>
53 <td>
54 <strong>Votes for this Bug:</strong> $vote[votefor] ($vote[forpercent]%)<br />
55 <strong>Votes against this bug:</strong> $vote[voteagainst] ($vote[againstpercent]%)<br />
56 <strong>Total Votes:</strong> $vote[total]
57 </td>
58 </tr>
59
60 <if condition="$show['vote']">
61 <tr>
62 <td>
63 <form name="vote" action="vote.php" method="post">
64 <input type="hidden" name="do" value="vote" />
65 <input type="hidden" name="bugid" value="$bug[bugid]" />
66
67 <input type="radio" name="vote" value="1" /> Vote For (+1)<br />
68 <input type="radio" name="vote" value="-1" /> Vote Against (-1)<br />
69 <input type="submit" name="submit" value="Vote" />
70
71 </form>
72 </td>
73 </tr>
74 </if>
75 </tbody>
76 </table>
77
78 <br />
79
80 $comments
81
82 <if condition="$show['newreply']"><div>[<a href="newcomment.php?bugid=$bug[bugid]">New Comment</a>]</div></if>
83
84 $footer