summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bug_form.pl4
-rw-r--r--template/en/default/bug/edit.html.tmpl2
2 files changed, 5 insertions, 1 deletions
diff --git a/bug_form.pl b/bug_form.pl
index 262327f17..406d86c40 100644
--- a/bug_form.pl
+++ b/bug_form.pl
@@ -311,9 +311,13 @@ sub show_bug {
$vars->{'bug'} = \%bug;
$vars->{'user'} = \%user;
+ # Create the <link> elements for browsing bug lists
+ $vars->{'navigation_links'} = navigation_links(join(':',@bug_list));
+
# Generate and return the UI (HTML page) from the appropriate template.
$template->process("bug/edit.html.tmpl", $vars)
|| ThrowTemplateError($template->error());
}
1;
+
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index f88fb4002..83972baae 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -25,7 +25,7 @@
title = "Bug $bug.bug_id - $bug.short_desc"
h1 = "Bugzilla Bug $bug.bug_id"
h2 = filtered_desc
- header_html = navigation_links()
+ header_html = navigation_links
%]
[% END %]