summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-01-28 04:12:53 +0100
committertravis%sedsystems.ca <>2005-01-28 04:12:53 +0100
commita2a9bf47a40740e89673a6f398afaa76c4e5da92 (patch)
tree03f1f8d16cade760fdc136f090b819f0a8ca528d /template
parent8e9520eb5dd1623948ba8e8f09ef75fd0f8ffd83 (diff)
downloadbugzilla-a2a9bf47a40740e89673a6f398afaa76c4e5da92.tar.gz
bugzilla-a2a9bf47a40740e89673a6f398afaa76c4e5da92.tar.xz
Bug 276605 : Ignore vote changes when usevotes = 0
Patch by Frederic Buclin <LpSolit@gmail.com> r=wurblzap a=myk
Diffstat (limited to 'template')
-rw-r--r--template/en/default/bug/votes/list-for-user.html.tmpl9
1 files changed, 6 insertions, 3 deletions
diff --git a/template/en/default/bug/votes/list-for-user.html.tmpl b/template/en/default/bug/votes/list-for-user.html.tmpl
index 9bb3a1dd6..968c66862 100644
--- a/template/en/default/bug/votes/list-for-user.html.tmpl
+++ b/template/en/default/bug/votes/list-for-user.html.tmpl
@@ -23,13 +23,16 @@
[% IF !header_done %]
[% h2 = voting_user.login FILTER html %]
- [% PROCESS global/header.html.tmpl title = "Show Votes" %]
+ [% IF canedit %]
+ [% title = "Change Votes" %]
+ [% ELSE %]
+ [% title = "Show Votes" %]
+ [% END %]
+ [% PROCESS global/header.html.tmpl %]
[% ELSE %]
<hr>
[% END %]
-[% canedit = 1 IF voting_user.login == user.login %]
-
[% IF votes_recorded %]
<p>
<font color="red">