From 2fe1364f4ef6bcf0f1d552973f61ac0474df9246 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Wed, 18 Feb 2009 21:12:32 -0800 Subject: [PATCH] Don't have reply/subscribe links for archived bugs (closes: #511864) --- debian/changelog | 1 + templates/en_US/cgi/bugreport.tmpl | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 4ecc815..3b111f1 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 cc8d57d..070005a 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), -- 2.39.2