diff options
author | gerv%gerv.net <> | 2002-05-02 04:00:46 +0200 |
---|---|---|
committer | gerv%gerv.net <> | 2002-05-02 04:00:46 +0200 |
commit | a4185828bb55a5c55c8a1da1a8e319caf16e4478 (patch) | |
tree | 37164efcf3c92ce159c0fbeb15b962e3d911e253 /template/en | |
parent | 81d43fa41c61fc801863c9aabeae137c122e5e46 (diff) | |
download | bugzilla-a4185828bb55a5c55c8a1da1a8e319caf16e4478.tar.gz bugzilla-a4185828bb55a5c55c8a1da1a8e319caf16e4478.tar.xz |
Bug 140770 - Navigation doesn't work after creating a new bug. This fix displays a new bug to the user immediately after it's been filed. Patch by gerv; r=justdave, afranke.
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/bug/create/created.html.tmpl | 25 | ||||
-rw-r--r-- | template/en/default/bug/process/results.html.tmpl | 11 |
2 files changed, 10 insertions, 26 deletions
diff --git a/template/en/default/bug/create/created.html.tmpl b/template/en/default/bug/create/created.html.tmpl index 7693fdbcf..0264413a7 100644 --- a/template/en/default/bug/create/created.html.tmpl +++ b/template/en/default/bug/create/created.html.tmpl @@ -20,28 +20,11 @@ #%] [% PROCESS global/header.html.tmpl - title = "Bug $bug_id Submitted" + title = "Bug $id Submitted" %] -<table border="1"> - <tr> - <td> - <h2>Bug [% bug_id %] has been added to the database.</h2> +[% PROCESS bug/process/results.html.tmpl %] - [% mailresults %] - - </td> - <td> - <a href="show_bug.cgi?id=[% bug_id %]">Back To Bug# [% bug_id %]</a> - </td> - </tr> -</table> +<br> -<p> -<a href="attachment.cgi?bugid=[% bug_id %]&action=enter"> - Attach a file to this bug</a>. -</p> - -[% PROCESS bug/navigate.html.tmpl %] - -[% PROCESS global/footer.html.tmpl %] +[%# post_bug.cgi will add a copy of the filed bug below here %] diff --git a/template/en/default/bug/process/results.html.tmpl b/template/en/default/bug/process/results.html.tmpl index 255a7c2ff..99dfbc11d 100644 --- a/template/en/default/bug/process/results.html.tmpl +++ b/template/en/default/bug/process/results.html.tmpl @@ -31,17 +31,18 @@ [% title = { - 'bug' => "Changes submitted for bug" , - 'dupe' => "Duplicate notation added to bug" , - 'dep' => "Checking for dependency changes on bug" , - 'votes' => "Confirmed by number of votes: bug" , + 'bug' => "Changes submitted for bug $id" , + 'dupe' => "Duplicate notation added to bug $id" , + 'dep' => "Checking for dependency changes on bug $id" , + 'votes' => "Bug $id confirmed by number of votes" , + 'created' => "Bug $id has been added to the database" , } %] <table border="1"> <tr> <td> - <h2>[% title.$type %] [%+ id %]</h2> + <h2>[% title.$type %]</h2> [% mail %] </td> <td> |