X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=templates%2Fen_US%2Fcgi%2Fshort_bug_status.tx;h=73de0cd168cb57e9a30feb5f140aa9baf177568d;hb=0ce9751d4f117f3bfe4d713cd24a4ae820ab625d;hp=2dd6e9ef5292959ab225a24aea10ae95cd8ed6be;hpb=3ece5afe868e75d5eaaee3ae391f955e29d76e1d;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..73de0cd 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 - <: for $bug.blockedby -> $bug { :> + <:- if $bug.is_blocked { :> + + <:- } -:> <:- 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.name :>
Date<: $bug.created.iso8601 :>
Owned by<: $bug.owner.name :>
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.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. <:- } -:>