summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjouni%heikniemi.net <>2002-07-06 18:33:37 +0200
committerjouni%heikniemi.net <>2002-07-06 18:33:37 +0200
commitef7c3883b5b4f8ef385f7d2d935c8ae3990e6249 (patch)
treeb2397b4ad025bceff63981ea1d7de50d53690326
parent5daa491dbbb1d678a45d2eea0d3bd63ddc309dd3 (diff)
downloadbugzilla-ef7c3883b5b4f8ef385f7d2d935c8ae3990e6249.tar.gz
bugzilla-ef7c3883b5b4f8ef385f7d2d935c8ae3990e6249.tar.xz
Bug 155388: <link> elements for next/prev/first/last in buglists didn't appear post-templatization.
r=gerv,bbaetz
-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 %]