From e47e36a6821a4f954f5d03643cdb5be988568798 Mon Sep 17 00:00:00 2001 From: "bbaetz%student.usyd.edu.au" <> Date: Thu, 28 Nov 2002 18:49:38 +0000 Subject: Bug 171493 - make show_bug use Bug.pm and remove bug_form.pl r=justdave, joel a=justdave --- template/en/default/global/code-error.html.tmpl | 4 ++++ template/en/default/global/site-navigation.html.tmpl | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'template/en/default/global') diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index d23234adc..4b37ee4f1 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -48,6 +48,10 @@ Attachment #[% attachid FILTER html %] ([% description FILTER html %]) is already obsolete. + [% ELSIF error == "bug_error" %] + Trying to retrieve bug [% bug.bug_id %] returned the error + [% bug.error FILTER html %] + [% ELSIF error == "cgi_error" %] [% title = "CGI Error" %] Bugzilla has had trouble interpreting your CGI request; diff --git a/template/en/default/global/site-navigation.html.tmpl b/template/en/default/global/site-navigation.html.tmpl index 118f356c0..77611b465 100644 --- a/template/en/default/global/site-navigation.html.tmpl +++ b/template/en/default/global/site-navigation.html.tmpl @@ -21,8 +21,8 @@ #%] [%# INTERFACE: - # bug_list: list of integers. List of bugs numbers of current query (if any). - # bug: integer. Number of current bug. + # bug_list: list of integers. List of bug numbers of current query (if any). + # bug.bug_id: integer. Number of current bug (for navigation purposes) #%] [% IF NOT (user_agent.match("MSIE [1-6]") OR user_agent.match("Mozilla/4")) %] -- cgit v1.2.3-24-g4f1b