Commit 40aae68e authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 356393: No title is displayed when confirming a bug by popular votes - Patch…

Bug 356393: No title is displayed when confirming a bug by popular votes - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap a=justdave
parent eba7c009
...@@ -29,6 +29,8 @@ ...@@ -29,6 +29,8 @@
[% title = "$terms.Bug processed" %] [% title = "$terms.Bug processed" %]
[% ELSIF title_tag == "mid_air" %] [% ELSIF title_tag == "mid_air" %]
[% title = "Mid-air collision!" %] [% title = "Mid-air collision!" %]
[% ELSIF title_tag == "change_votes" %]
[% title = "Change Votes" %]
[% END %] [% END %]
[% PROCESS global/header.html.tmpl %] [% PROCESS global/header.html.tmpl %]
...@@ -342,6 +342,7 @@ sub record_votes { ...@@ -342,6 +342,7 @@ sub record_votes {
$vars->{'type'} = "votes"; $vars->{'type'} = "votes";
$vars->{'mailrecipients'} = { 'changer' => Bugzilla->user->login }; $vars->{'mailrecipients'} = { 'changer' => Bugzilla->user->login };
$vars->{'title_tag'} = 'change_votes';
foreach my $bug_id (@updated_bugs) { foreach my $bug_id (@updated_bugs) {
$vars->{'id'} = $bug_id; $vars->{'id'} = $bug_id;
......
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