X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=templates%2Fen_US%2Fcgi%2Fshort_bug_status.tx;h=73de0cd168cb57e9a30feb5f140aa9baf177568d;hb=0ce9751d4f117f3bfe4d713cd24a4ae820ab625d;hp=1952173a7c65521f2ec9df745c09381554a9e318;hpb=757b392b853d7bc16592b9431d5275ca943684e4;p=debbugs.git diff --git a/templates/en_US/cgi/short_bug_status.tx b/templates/en_US/cgi/short_bug_status.tx index 1952173..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. | + <:- } -:> +