:- macro bug_url_subject->($bug) {-:> ># <:- $bug.bug :>: <: $bug.subject :> <:- } -:>
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 { | : } <: if $bug.tags.has_usertags { if $bug.tags.has_tags { :>, <: } -:> <:- } -:>||
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. | <:- } else if ($time - $ago) / 86400 > 30 { :><: $what :> | <: secs_to_english($time-$ago) :> ago. | <:- } -:>