From: Don Armstrong Date: Thu, 19 Feb 2009 05:12:32 +0000 (-0800) Subject: Don't have reply/subscribe links for archived bugs (closes: #511864) X-Git-Tag: release/2.6.0~461^2~50 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2fe1364f4ef6bcf0f1d552973f61ac0474df9246;p=debbugs.git Don't have reply/subscribe links for archived bugs (closes: #511864) --- diff --git a/debian/changelog b/debian/changelog index 4ecc815e..3b111f10 100644 --- a/debian/changelog +++ b/debian/changelog @@ -244,6 +244,7 @@ debbugs (2.4.2) UNRELEASED; urgency=low (closes: #514183) * Calculate last modified using summary as well as log (closes: #515063) * Ditch 'as before' (closes: #514677) + * Don't have reply/subscribe links for archived bugs (closes: #511864) -- Colin Watson Fri, 20 Jun 2003 18:57:25 +0100 diff --git a/templates/en_US/cgi/bugreport.tmpl b/templates/en_US/cgi/bugreport.tmpl index cc8d57dd..070005ab 100644 --- a/templates/en_US/cgi/bugreport.tmpl +++ b/templates/en_US/cgi/bugreport.tmpl @@ -27,9 +27,11 @@ function toggle_infmessages() $output .= sprintf qq(

Full log

),html_escape(bug_links(bug=>$bug_num,links_only=>1)); } else { - $output .= qq(

Reply ). - qq(or subscribe ). + if (not $status{archived}) { + $output .= qq(

Reply ). + qq(or subscribe ). qq(to this bug.

\n); + } $output .= qq(

Toggle useless messages

); $output .= sprintf qq(

View this report as an mbox folder, ). qq(status mbox, maintainer mbox

\n),