summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-10-13 21:59:57 +0200
committerlpsolit%gmail.com <>2006-10-13 21:59:57 +0200
commit40aae68e1263b9677285473a9205cef378b451c0 (patch)
treee82b48034ee05ccaee5421467594d45bc67491d3
parenteba7c009f236ebeb01b9c0a8994233169c8bf9ae (diff)
downloadbugzilla-40aae68e1263b9677285473a9205cef378b451c0.tar.gz
bugzilla-40aae68e1263b9677285473a9205cef378b451c0.tar.xz
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
-rw-r--r--template/en/default/bug/process/header.html.tmpl2
-rwxr-xr-xvotes.cgi1
2 files changed, 3 insertions, 0 deletions
diff --git a/template/en/default/bug/process/header.html.tmpl b/template/en/default/bug/process/header.html.tmpl
index 055389797..6a9581cb3 100644
--- a/template/en/default/bug/process/header.html.tmpl
+++ b/template/en/default/bug/process/header.html.tmpl
@@ -29,6 +29,8 @@
[% title = "$terms.Bug processed" %]
[% ELSIF title_tag == "mid_air" %]
[% title = "Mid-air collision!" %]
+[% ELSIF title_tag == "change_votes" %]
+ [% title = "Change Votes" %]
[% END %]
[% PROCESS global/header.html.tmpl %]
diff --git a/votes.cgi b/votes.cgi
index de3873328..43a693b52 100755
--- a/votes.cgi
+++ b/votes.cgi
@@ -342,6 +342,7 @@ sub record_votes {
$vars->{'type'} = "votes";
$vars->{'mailrecipients'} = { 'changer' => Bugzilla->user->login };
+ $vars->{'title_tag'} = 'change_votes';
foreach my $bug_id (@updated_bugs) {
$vars->{'id'} = $bug_id;