X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=templates%2Fen_US%2Fcgi%2Fshort_bug_status.tx;h=1e66da97275e5a480c6ac871162970611b184736;hb=e47d14541026445e8bf7cdb3f02acc0010d63120;hp=2dd6e9ef5292959ab225a24aea10ae95cd8ed6be;hpb=82468ae1341f0a71f7ced78d391191fab680fb3d;p=debbugs.git diff --git a/templates/en_US/cgi/short_bug_status.tx b/templates/en_US/cgi/short_bug_status.tx index 2dd6e9e..1e66da9 100644 --- a/templates/en_US/cgi/short_bug_status.tx +++ b/templates/en_US/cgi/short_bug_status.tx @@ -37,100 +37,99 @@ <:- if ! $~package.is_last { -:>, <: } else if ! $~package.is_first { -:>.<:- } -:> <:- } :>] <: $bug.subject :> -
- Reported by: <: $bug.submitter :>; - Date: <: $bug.created.stringify :>; +
+ + + <:- if $bug.is_owned { -:> - Owned by: <: $bug.owner :>; + <:- } :> - Severity: + + <:- if $bug.tags.has_any_tags { -:> + + <: } :> + <:- if $bug.is_merged > 0 { -:> + <:- } -:> <:- if $bug.has_found { -:> - Found in version<: if $bug.found.count > 1 { :>s<: } :> - <:- $bug.found.join(', ') -:>; - + + <:- } -:> - <:- if $bug.has_fixed { :> - Fixed in version<: if $bug.fixed.count > 1 { :>s<: } :> - <:- $bug.fixed.join(', ') -:>; - + <:- if $bug.has_fixed { :> + <:- } -:> <:- if $bug.has_found or $bug.has_fixed { -:> <:- } -:> <:- if $bug.is_forwarded { :> - Forwarded to - <: $bug.forwarded.split('\,\s+').map(maybelink).join(', ') :> - + + + <:- } -:> <:- if $bug.is_done { -:> - Done: - <: $bug.done :> - + + <:- } -:> <:- if not $bug.archived and $bug.when_archiveable >= 0 { -:> - Can be archived + <:- } else if $bug.archived { -:> - Archived + <:- } -:> <:- if $bug.blockedby.count > 0 { :> - Fix blocked by + + <:- } -:> <:- if $bug.blocks.count > 0 { :> - Blocking fix for + <:- } -:> <:- 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",$bug.created.epoch) :> <: days_ago("Modified",$bug.modified.epoch) :> +
Reported by<: $bug.submitter :>
Date<: $bug.created.stringify :>
Owned by<: $bug.owner :>
Severity <: if $bug.strong_severity { -:> <: $bug.severity :> <:- } else { -:> <: $bug.severity :> - <:- } -:> - - <:- if $bug.tags.has_tags { -:> - Tags: <: $bug.tags.join_all(', ') :>; + <:- } -:>
Tags + : if $bug.tags.has_tags { + <: $bug.tags.join_tags(', ') :> + : } + <: if $bug.tags.has_usertags { + if $bug.tags.has_tags { :>, <: } -:> + <: $bug.tags.join_usertags(', ') :> <:- } -:> - - <:- if $bug.is_merged > 0 { -:> - Merged with +
Merged with <: for $bug.mergedwith.members_ref -> $bug { -:> <:- bug_url_subject($bug) -:> <:- if ! $~bug.is_last {-:>, <: } else { -:>.<:- } -:> <:- } -:> - - <:- } -:> - : if $bug.has_found or $bug.has_fixed { - +
Found in version<: if $bug.found.count > 1 { :>s<: } :><:- $bug.found.join(', ') -:>
Fixed in version<: if $bug.fixed.count > 1 { :>s<: } :> + <:- $bug.fixed.join(', ') -:>
Forwarded to<: $bug.forwarded.split('\,\s+').map(maybelink).join(', ') :>
Done: + <: $bug.done :>
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.blockedby -> $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. <:- } -:>