Commit ef7c3883 authored by jouni%heikniemi.net's avatar jouni%heikniemi.net

Bug 155388: <link> elements for next/prev/first/last in buglists didn't appear post-templatization.

r=gerv,bbaetz
parent 5daa491d
...@@ -311,9 +311,13 @@ sub show_bug { ...@@ -311,9 +311,13 @@ sub show_bug {
$vars->{'bug'} = \%bug; $vars->{'bug'} = \%bug;
$vars->{'user'} = \%user; $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. # Generate and return the UI (HTML page) from the appropriate template.
$template->process("bug/edit.html.tmpl", $vars) $template->process("bug/edit.html.tmpl", $vars)
|| ThrowTemplateError($template->error()); || ThrowTemplateError($template->error());
} }
1; 1;
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
title = "Bug $bug.bug_id - $bug.short_desc" title = "Bug $bug.bug_id - $bug.short_desc"
h1 = "Bugzilla Bug $bug.bug_id" h1 = "Bugzilla Bug $bug.bug_id"
h2 = filtered_desc h2 = filtered_desc
header_html = navigation_links() header_html = navigation_links
%] %]
[% END %] [% END %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment