X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=templates%2Fen_US%2Fcgi%2Fbugreport_buginfo.tx;h=62f31289f0e8bc2159beae65c9ba0212a782b0fb;hb=95f9fb400fc78d18257221e5671f25878de3178f;hp=8f3870f9d580e199b0fa1061cf50a9585eb95606;hpb=4a2bb1a91de48cdfb793fb957caeba6aa6c5f32d;p=debbugs.git diff --git a/templates/en_US/cgi/bugreport_buginfo.tx b/templates/en_US/cgi/bugreport_buginfo.tx index 8f3870f..62f3128 100644 --- a/templates/en_US/cgi/bugreport_buginfo.tx +++ b/templates/en_US/cgi/bugreport_buginfo.tx @@ -4,85 +4,85 @@ <: $bug.submitter.name :>
  • Date - <: $status.date_text :> + <: $bug.created :>
  • - : if defined($status.owner) && $status.owner.length() { + : if $bug.has_owner {
  • Owned by - <: package_links("owner",$status.owner) :> + <: $bug.owner.name :>
  • : }
  • Severity - <:- if $status.severity { :><: } -:> - <:- $status.severity -:> - <:- if $status.severity { :><: } -:> + <:- if $bug.severity { :><: } -:> + <:- $bug.severity -:> + <:- if $bug.severity { :><: } -:>
  • - : if $status.tags_array { + : if $bug.tags.has_any_tags {
  • Tags - <: $status.tags_array.join(' ') :> + <: $bug.tags.as_string :>
  • : } - : if $status.mergedwith_array.count > 0 { + : if $bug.mergedwith.count > 0 {
  • Merged with - <: bug_links(bug=>$status.mergedwith_array).join(",\n") :> + <: bug_links(bug=>$bug.mergedwith).join(",\n") :>
  • : } - : if $status.found_versions.count { + : if $bug.has_found {
  • Found in - version<:- if $status.found_versions.count > 1 { -:>s<: } -:> - <: $status.found_versions.join(', ') :> + version<:- if $bug.found.count > 1 { -:>s<: } -:> + <: $bug.found.join(', ') :>
  • : } - : if $status.fixed_versions.count { + : if $bug.has_fixed {
  • Fixed in - version<: if $status.fixed_versions.count > 1 { :>s<: } :> - <: $status.fixed_versions.join(', ') :> + version<: if $bug.fixed.count > 1 { :>s<: } :> + <: $bug.fixed.join(', ') :>
  • : } - <: if $status.done.length() { :> + <: if $bug.is_done { :>
  • Done - <: $status.done :> + <: $bug.done.name :>
  • : } - : if $status.blockedby_array.count { + : if $bug.blocked_by.count {
  • Fix blocked by - : for $status.blockedby_array -> $bug { - <: bug_links("bug",$bug.bug_num) :>: <: $bug.subject -:> + : for $bug.blocked_by.members_ref -> $bug { + <: $bug.subject -:> <:- if !$~bug.is_last { :>, <: } else { :>.<: } :> : }
  • : } - : if $status.blocks_array.count { + : if $bug.blocks.count {
  • Blocking fix for $bug { - <: bug_links("bug",$bug.bug_num) :>: <: $bug.subject -:> - <:- if ! $~bug.is_last { :>, <: } else { :>.<: } :> + : for $bug.blocks.members_ref -> $bug { + <: $bug.subject -:> + <:- if ! $~bug.is_last { :>, <: } else { :>.<: } :> : }
  • : } - : if $status.archived { + : if $bug.archived {
  • Bug is Archived
  • : } - : if defined $status.forwarded and $status.forwarded.length() { + : if defined $bug.forwarded and $bug.forwarded.length() {
  • Forwarded to - <: split($status.forwarded,',\s+').map(maybelink).join(', ') :> + <: split($bug.forwarded,',\s+').map(maybelink).join(', ') :>
  • : } - : if defined $status.summary and $status.summary.length() { + : if defined $bug.summary and $bug.summary.length() {
  • Summary - <: $status.summary :> + <: $bug.summary :>
  • : } - : if defined $status.outlook and $status.outlook.length() { + : if defined $bug.outlook and $bug.outlook.length() {
  • Outlook - <: $status.outlook :> + <: $bug.outlook :>
  • : }