summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-05-07 06:49:51 +0200
committergerv%gerv.net <>2002-05-07 06:49:51 +0200
commit8efe68824c3006c806ca4e31060e70b10286473b (patch)
tree2c5a7043876bb4c3844377a02fa1bdb2b4f256c6 /template/en/default/bug
parent003d71db7ff0edb38b8fd964824cb8323dc68d54 (diff)
downloadbugzilla-8efe68824c3006c806ca4e31060e70b10286473b.tar.gz
bugzilla-8efe68824c3006c806ca4e31060e70b10286473b.tar.xz
Oops - adding INTERFACE comments accidentally included some code from another patch. Backing out those changes.
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/votes/list-for-user.html.tmpl10
1 files changed, 4 insertions, 6 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 4797d71b7..261e0f864 100644
--- a/template/en/default/bug/votes/list-for-user.html.tmpl
+++ b/template/en/default/bug/votes/list-for-user.html.tmpl
@@ -21,11 +21,9 @@
[% PROCESS global/header.html.tmpl
title = "Show Votes"
- h2 = voting_user.name
+ h2 = user.name
%]
-[% canedit = 1 IF voting_user.login == user.login %]
-
[% IF votes_recorded %]
<p>
<font color="red">
@@ -78,7 +76,7 @@
</a>
</td>
<td align="right">
- [% IF canedit %]
+ [% IF user.canedit %]
[% IF product.onevoteonly %]
<input type="checkbox" name="[% bug.id %]" value="1"
[% " checked" IF bug.count %]>
@@ -105,7 +103,7 @@
[% END %]
</table>
- [% IF canedit %]
+ [% IF user.canedit %]
<input type="submit" value="Change My Votes">
<br>
<br>
@@ -116,7 +114,7 @@
</form>
[% ELSE %]
<p>
- [% IF canedit %]
+ [% IF user.canedit %]
You are
[% ELSE %]
This user is