From ef7c3883b5b4f8ef385f7d2d935c8ae3990e6249 Mon Sep 17 00:00:00 2001
From: "jouni%heikniemi.net" <>
Date: Sat, 6 Jul 2002 16:33:37 +0000
Subject: Bug 155388: elements for next/prev/first/last in buglists
didn't appear post-templatization. r=gerv,bbaetz
---
bug_form.pl | 4 ++++
template/en/default/bug/edit.html.tmpl | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
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 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 %]
--
cgit v1.2.3-24-g4f1b