>#<: $status.bug_num :> [ <:- my $short_sev = substr($status.severity,0,1) -:> <:- if isstrongseverity($status.severity) { -:><: uc($short_sev) :> <:- } else { -:> <:- $short_sev } -:>| <:- for $status.tags_array -> $tag { -:> <:- if defined($config.tags_single_letter[$tag]) { -:> <: $config.tags_single_letter[$tag] :><:- } -:> : } <:- if $status.tags_array.size() == 0 { -:>  <: } :>| <:- if $status.mergedwith_array.count > 0 { -:> = <:- } -:> <:- if $status.fixed_versions.count > 0 { -:> <:- } -:> <:- if $status.fixed_versions.count > 0 { -:> <:- } -:> <:- if $status.blockedby_array.count > 0 { -:> <:- } -:> <:- if $status.blocks_array.count > 0 { -:> <:- } -:> <:- if length($status.forwarded) { -:> <:- } -:> <:- if $status.archived { -:> <:- } -:> <:- if length($status.affects) { -:> <:- } -:>] [<: raw(package_links(package=>$status.package.split(','),class=>"submitter")) :>] <: $status.subject :>
Reported by: <: raw(package_links(submitter=>$status.originator)) :>; Date: <: $status.date_text :>; <:- if (defined $status.owner and length($status.owner)) { -:> Owned by: <: raw(package_links(owner=>$status.owner)) :>; <:- } :> Severity: <:- if (isstrongseverity($status.severity)) { -:> )<: $status.severity :> <:- } else { -:> <: $status.severity :> <:- } -:> <:- if $status.tags_array.size > 0 { -:> Tags: <: $status.tags_array.join(', ') :>; <:- } -:> : if $status.mergedwith_array.size > 0 { Merged with <: bug_links(bug=>$status.mergedwith_array).join(",\n") :>; : } : if $status.found_versions.size > 0 or $status.fixed_versions.size > 0 { <:- } -:> <:- if $status.found_versions.size > 0 { -:> Found in version<: if $status.found_versions.size > 1 { :>s<: } :> <:- $status.found_versions.join(', ') -:>; <:- } -:> <:- if $status.fixed_versions.size > 0 { :> Fixed in version<: if $status.fixed_versions.size > 1 { :>s<: } :> <:- $status.fixed_versions.join(', ') -:>; <:- } -:> <:- if $status.found_versions.size > 0 or $status.fixed_versions.size > 0 { -:> <:- } -:> <:- if (length($status.forwarded)) { :> Forwarded to <: $status.forwarded.split('\,\s+').map(maybelink).join(', ') :> <:- } -:> <:- if (length($status.done)) { -:> Done: <: $status.done :> <:- } -:> <:- if $status.archive_days >= 0 and defined($status.location) && $status.location != "archive" { -:> Can be archived <: if $status.archive_days == 0 { :> today <: } else if $status.archive_days == 1 { :> in 1 day <: } else { :> in <: $status.archive_days :> days <:- } :>; <:- } else if defined($status.location) && $status.location == "archived" { -:> Archived <:- } -:> <:- if $status.blockedby_array.count > 0 { :> Fix blocked by <: for $status.blockedby_array -> $bug { :> <: bug_links("bug",bug.bug_num) :>: <: $bug.subject -:> <:- if ! $~bug.is_last { -:>, <: } else { -:>.<:- } -:> <:- } -:> <:- } -:> <:- if $status.blocks_array.count > 0 { :> Blocking fix for <: for $status.blocks_array -> $bug { :> <: bug_links("bug",bug.bug_num) :>: <: $bug.subject -:> <:- if ! $~bug.is_last {-:>, <: } else { -:>.<:- } -:> <:- } -:> <:- } -:> <:- macro days_ago->($what,$ago) {-:> <:- if ($time - $ago) / 86400 > 60 { -:> <: $what :> <: secs_to_english($time-$ago) :> ago. <:- } else if ($time - $ago) / 86400 > 30 { :> <: $what :> <: secs_to_english($time-$ago) :> ago. <:- } -:>; <:- } -:> <: days_ago("Filed",$status.date) :> <: days_ago("Modified",$status.log_modified) :> <:- if defined $status.archived and $status.archived {:> Bug is archived. No further changes may be made. <:- } -:>