X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=templates%2Fen_US%2Fcgi%2Fshort_bug_status.tx;fp=templates%2Fen_US%2Fcgi%2Fshort_bug_status.tx;h=73de0cd168cb57e9a30feb5f140aa9baf177568d;hb=b1252b6797aa6a79d00a32165fb2fa8fb1bd9318;hp=ccca13aea39b3a7683aa977d1fd43f1b4ea86aaa;hpb=06424150844462de782ae112aa26c80dfa8d9401;p=debbugs.git diff --git a/templates/en_US/cgi/short_bug_status.tx b/templates/en_US/cgi/short_bug_status.tx index ccca13a..73de0cd 100644 --- a/templates/en_US/cgi/short_bug_status.tx +++ b/templates/en_US/cgi/short_bug_status.tx @@ -1,134 +1,136 @@ +<:- 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 { -:> - <: $status.severity :> - <:- } -:> - - <:- if $status.tags_array.size > 0 { -:> - Tags: <: $status.tags_array.join(', ') :>; + <: $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 { -:>.<:- } -:> <:- } -:> - - : 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 { - + | ||
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 $status.archive_days == 1 { :> + <: } else if $bug.when_archiveable == 1 { :> in 1 day <: } else { :> - in <: $status.archive_days :> days - <:- } :>; - <:- } else if defined($status.location) && $status.location == "archived" { -:> - Archived + 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. - <:- } -:>; - +<: $what :> | <: secs_to_english($time-$ago) :> ago. | + <:- } -:> +