From 451102ed8676fc706d5ac49932fc15dd99dbb12d Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sat, 16 Aug 2008 13:09:19 -0700 Subject: [PATCH] add forwarded information; update bzr ignore --- .bzrignore | 4 ++++ templates/en_US/cgi/bugreport_buginfo.tmpl | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 .bzrignore diff --git a/.bzrignore b/.bzrignore new file mode 100644 index 00000000..0b9634c1 --- /dev/null +++ b/.bzrignore @@ -0,0 +1,4 @@ +Makefile.perl +Makefile.perl.old +build-stamp +install-stamp diff --git a/templates/en_US/cgi/bugreport_buginfo.tmpl b/templates/en_US/cgi/bugreport_buginfo.tmpl index 2e9b1825..8affad18 100644 --- a/templates/en_US/cgi/bugreport_buginfo.tmpl +++ b/templates/en_US/cgi/bugreport_buginfo.tmpl @@ -59,6 +59,15 @@ $output .= q(

Bug is archived. No further changes may be made.

) } $output +}{ my $output = ''; + if (length($status{forwarded})) { + $output = "

Forwarded to " . + join(', ', + map {maybelink($_)} + split /\,\s+/,$status{forwarded} + )."

\n"; + } + $output; }{ my $output = ''; if (exists $status{summary} and defined $status{summary} and length $status{summary}) { $output .= q(

Summary: ).html_escape($status{summary}).q(

); -- 2.39.5