From: jouni%heikniemi.net <>
Date: Sat, 6 Jul 2002 16:33:37 +0000 (+0000)
Subject: Bug 155388: elements for next/prev/first/last in buglists didn't appear post...
X-Git-Tag: bugzilla-2.17.1~279
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef7c3883b5b4f8ef385f7d2d935c8ae3990e6249;p=thirdparty%2Fbugzilla.git
Bug 155388: elements for next/prev/first/last in buglists didn't appear post-templatization.
r=gerv,bbaetz
---
diff --git a/bug_form.pl b/bug_form.pl
index 262327f17f..406d86c40c 100644
--- a/bug_form.pl
+++ b/bug_form.pl
@@ -311,9 +311,13 @@ sub show_bug {
$vars->{'bug'} = \%bug;
$vars->{'user'} = \%user;
+ # Create the 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 f88fb4002d..83972baaef 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 %]