1 <div class="shortbugstatus">
2 <a href="<: bug_links(bug=>$status.bug_num,links_only=>1):>"<:length($status.done)?' style="text-decoration:line-through"':'':>>#<: $status.bug_num :></a>
3 [<font face="fixed"><span class="link" onclick="javascript:extra_status_visible(<: $status.bug_num :>)"><abbr title="<: $status.severity :>">
4 <:- my $short_sev = substr($status.severity,0,1) -:>
5 <:- if isstrongseverity($status.severity) { -:><em class="severity"><: uc($short_sev) :></em>
7 <:- $short_sev } -:></abbr>|
8 <:- for $status.tags_array -> $tag { -:>
9 <:- if defined($config.tags_single_letter[$tag]) { -:>
10 <abbr title="<: $tag :>"><: $config.tags_single_letter[$tag] :></abbr><:- } -:>
12 <:- if $status.tags_array.size() == 0 { -:> <: } :>|
13 <:- if $status.mergedwith_array.size() > 0 { -:>
14 <abbr title="merged">=</abbr>
16 <:- if $status.fixed_versions.size() > 0 { -:>
17 <abbr title="fixed versions">☺</abbr>
19 <:- if $status.fixed_versions.size() > 0 { -:>
20 <abbr title="fixed versions">☺</abbr>
22 <:- if $status.blockedby_array.size() > 0 { -:>
23 <abbr title="blocked by">♙</abbr>
25 <:- if $status.blocks_array.size() > 0 { -:>
26 <abbr title="blocks">♔</abbr>
28 <:- if length($status.forwarded) { -:>
29 <abbr title="forwarded">↝</abbr>
31 <:- if $status.archived { -:>
32 <abbr title="archived">♲</abbr>
34 <:- if length($status.affects) { -:>
35 <abbr title="affects">☣</abbr>
36 <:- } -:></span></font>]
37 [<: raw(package_links(package=>$status.package.split(','),class=>"submitter")) :>]
38 <a href="<: bug_links(bug=>$status.bug_num,links_only=>1) :>"><: $status.subject :></a>
39 <div id="extra_status_<: $status.bug_num :>" class="shortbugstatusextra">
40 <span>Reported by: <: raw(package_links(submitter=>$status.originator)) :>;</span>
41 <span>Date: <: $status.date_text :>;</span>
42 <:- if (defined $status.owner and length($status.owner)) { -:>
43 <span>Owned by: <: raw(package_links(owner=>$status.owner)) :>;</span>
46 <:- if (isstrongseverity($status.severity)) { -:>
47 <em class="severity">)<: $status.severity :></em>
49 <: $status.severity :>
52 <:- if $status.tags_array.size > 0 { -:>
53 Tags: <: $status.tags_array.join(', ') :>;
56 : if $status.mergedwith_array.size > 0 {
57 <span>Merged with <: bug_links(bug=>$status.mergedwith_array).join(",\n") :>;</span>
59 : if $status.found_versions.size > 0 or $status.fixed_versions.size > 0 {
61 version_url(package => $status.package,
62 found => $status.found_versions,
63 fixed => $status.fixed_versions,
66 <:- if $status.found_versions.size > 0 { -:>
67 <span>Found in version<: if $status.found_versions.size > 1 { :>s<: } :>
68 <:- $status.found_versions.join(', ') -:>;
71 <:- if $status.fixed_versions.size > 0 { :>
72 <span>Fixed in version<: if $status.fixed_versions.size > 1 { :>s<: } :>
73 <:- $status.fixed_versions.join(', ') -:>;
76 <:- if $status.found_versions.size > 0 or $status.fixed_versions.size > 0 { -:>
79 <:- if (length($status.forwarded)) { :>
80 <span><strong>Forwarded</strong> to
81 <: $status.forwarded.split('\,\s+').map(maybelink).join(', ') :>
84 <:- if (length($status.done)) { -:>
85 <span><strong>Done:</strong>
89 <:- if $status.archive_days >= 0 and
90 defined($status.location) && $status.location != "archive" { -:>
91 <span><strong>Can be archived
92 <: if $status.archive_days == 0 { :>
94 <: } else if $status.archive_days == 1 { :>
97 in <: $status.archive_days :> days
98 <:- } :>;</strong></span>
99 <:- } else if defined($status.location) && $status.location == "archived" { -:>
100 <span><strong>Archived</strong></span>
102 <:- if $status.blockedby_array.count > 0 { :>
104 <: for $status.blockedby_array -> $bug { :>
105 <: bug_links("bug",bug.bug_num) :>:
107 <:- if ! $~bug.is_last { -:>, <: } else { -:>.<:- } -:>
111 <:- if $status.blocks_array.count > 0 { :>
112 <span>Blocking fix for
113 <: for $status.blocks_array -> $bug { :>
114 <: bug_links("bug",bug.bug_num) :>:
116 <:- if ! $~bug.is_last {-:>, <: } else { -:>.<:- } -:>
120 <:- macro days_ago->($what,$ago) {-:>
122 <:- if ($time - $ago) / 86400 > 60 { -:>
123 <strong><: $what :> <: secs_to_english($time-$ago) :> ago.</strong>
124 <:- } else if ($time - $ago) / 86400 > 30 { :>
125 <strong><: $what :> <: secs_to_english($time-$ago) :> ago.</strong>
129 <: days_ago("Filed",$status.date) :>
130 <: days_ago("Modified",$status.log_modified) :>
131 <:- if defined $status.archived and $status.archived {:>
132 <span>Bug is archived. No further changes may be made.</span>