<:- macro bug_url_subject->($bug) {-:> ># <:- $bug.bug :>: <: $bug.subject :> <:- } -:>
>#<: $bug.bug :> [ <:- if $bug.strong_severity { -:><: $bug.short_severity :> <:- } else { -:> <:- $bug.short_severity } -:>| <:- for $bug.tags.short_tags -> $tag { -:> <: $tag.short :> <:- } else { -:>  <: } :>| <:- if $bug.is_merged > 0 { -:> = <:- } -:> <:- if $bug.has_fixed { -:> <:- } -:> <:- if $bug.is_blocked { -:> <:- } -:> <:- if $bug.is_blocking { -:> <:- } -:> <:- if $bug.is_forwarded { -:> <:- } -:> <:- if $bug.archived { -:> <:- } -:> <:- if $bug.is_affecting { -:> <:- } -:>] [<: for $bug.packages.members_ref -> $package { -:> <: $package.name :> <:- if ! $~package.is_last { -:>, <: } else if ! $~package.is_first { -:>.<:- } -:> <:- } :>] <: $bug.subject :>
<:- if $bug.is_owned { -:> <:- } :> <:- if $bug.tags.has_any_tags { -:> <: } :> <:- if $bug.is_merged > 0 { -:> <:- } -:> <:- if $bug.has_found { -:> <:- } -:> <:- if $bug.has_fixed { :> <:- } -:> <:- if $bug.has_found or $bug.has_fixed { -:> <:- } -:> <:- if $bug.is_forwarded { :> <:- } -:> <:- if $bug.is_done { -:> <:- } -:> <:- if not $bug.archived and $bug.when_archiveable >= 0 { -:> <:- } else if $bug.archived { -:> <:- } -:> <:- if $bug.is_blocked { :> <:- } -:> <:- if $bug.blocks.count > 0 { :> <:- } -:> <:- macro days_ago->($what,$ago) {-:> <:- if ($time - $ago) / 86400 > 60 { -:> <:- } else if ($time - $ago) / 86400 > 30 { :> <:- } -:> <:- } -:> <: days_ago("Filed",$bug.created.epoch) :> <: days_ago("Modified",$bug.modified.epoch) :>
Reported by<: $bug.submitter.name :>
Date<: $bug.created.iso8601 :>
Owned by<: $bug.owner.name :>
Severity <: if $bug.strong_severity { -:> <: $bug.severity :> <:- } else { -:> <: $bug.severity :> <:- } -:>
Tags : if $bug.tags.has_tags { <: $bug.tags.join_tags(', ') :> : } <: if $bug.tags.has_usertags { if $bug.tags.has_tags { :>, <: } -:> <: $bug.tags.join_usertags(', ') :> <:- } -:>
Merged with <: for $bug.mergedwith.members_ref -> $bug { -:> <:- bug_url_subject($bug) -:> <:- if ! $~bug.is_last {-:>, <: } else { -:>.<:- } -:> <:- } -:>
Found in version<: if $bug.status.found_count > 1 { :>s<: } :> "><:- $bug.status.found_join(', ') -:>
Fixed in version<: if $bug.status.fixed_count > 1 { :>s<: } :> "><:- $bug.status.fixed_join(', ') -:>
Forwarded to <: $bug.forwarded.split('\,\s+').map(maybelink).join(', ') :>
Done: <: $bug.done.name :>
Can be archived <: if $bug.when_archiveable == 0 { :> today <: } else if $bug.when_archiveable == 1 { :> in 1 day <: } else { :> in <: $bug.when_archiveable :> days <:- } :>
Archived
Fix blocked by <: for $bug.blocked_by -> $bug { :> <: bug_url_subject($bug) :> <:- if ! $~bug.is_last { -:>, <: } else { -:>.<:- } -:> <:- } -:>
Blocking fix for <: for $bug.blocks -> $bug { :> <: bug_url_subject($bug) :> <:- if ! $~bug.is_last {-:>, <: } else { -:>.<:- } -:> <:- } -:>
<: $what :><: secs_to_english($time-$ago) :> ago.<: $what :><: secs_to_english($time-$ago) :> ago.
<:- if $bug.archived {:> Bug is archived. No further changes may be made. <:- } -:>