]> git.donarmstrong.com Git - debbugs.git/blob - templates/en_US/cgi/bugreport_buginfo.tx
Switch from Text::Template to Text::Xslate
[debbugs.git] / templates / en_US / cgi / bugreport_buginfo.tx
1 <div class="buginfo">
2     <p>Reported by: <: raw(package_links(submitter=>$status.originator )) :></p>
3     <p>Date: <: $status.date_text :></p>
4     : if defined($status.owner) && $status.owner.length() {
5     <p>Owned by: <: raw(package_links("owner",$status.owner)) :></p>
6     : }
7     <p>Severity: <: if $status.severity { :><em class="severity"><: } :><: $status.severity :>
8         <: if $status.severity { :></em><: } :></p>
9     <p><: if $status.tags_array { :>Tags: <: $status.tags_array.join(' ') :></p> <: } :>
10     : if $status.mergedwith_array.count > 0 {
11     <p>Merged with <: bug_links(bug=>$status.mergedwith_array).join(",\n") :></p>
12     : }
13     : if $status.found_versions.count {
14     <p>Found in
15         version<:- if $status.found_versions.count > 1 { -:>s<: } -:>
16         <: $status.found_versions.join(', ') :></p>
17     : }
18     : if $status.fixed_versions.count {
19     <p>Fixed in 
20         version<:- if $status.fixed_versions.count > 1 { -:>s<: } -:>
21         <: $status.fixed_versions.join(', ') :></p>
22     : }
23     <: if $status.done.length() { :>
24     <p><strong>Done:</strong> <: $status.done :></p>
25     <: } :>
26     <: if $status.blockedby_array.count { :>
27     <p>Fix blocked by
28         : for $status.blockedby_array -> $bug {
29         <: bug_links("bug",$bug.bug_num) :>: <: $bug.subject :><: if !$~bug.is_last { :>,
30         <:  } else {  :>.<: } :>
31         : }
32     </p>
33     <: } :>
34     : if $status.blocks_array.count {
35     <p>Blocking fix for
36         : for $status.blocks_array -> $bug {
37         <: bug_links("bug",$bug.bug_num) :>: <: $bug.subject :><:if ! $~bug.is_last { :>,
38         <:  } else {  :>.<: } :>
39         : }
40     </p>
41     : }
42     : if $status.archived {
43     <p>Bug is archived. No further changes may be made.<p>
44     : }
45     : if defined $status.forwarded and $status.forwarded.length() {
46     <p>Forwarded to <: split($status.forwarded,',\s+').map(maybelink).join(', ') :></p>
47     : }
48     : if defined $status.summary and $status.summary.length() {
49     <p>Summary: <: $status.summary :></p>
50     : }
51     : if defined $status.outlook and $status.outlook.length() {
52     <p>Summary: <: $status.outlook :></p>
53     : }
54 </div>