summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template/en/default/bug/votes/list-for-user.html.tmpl10
-rw-r--r--template/en/default/list/edit-multiple.html.tmpl2
2 files changed, 5 insertions, 7 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
diff --git a/template/en/default/list/edit-multiple.html.tmpl b/template/en/default/list/edit-multiple.html.tmpl
index fb28845c5..c7c8d00bf 100644
--- a/template/en/default/list/edit-multiple.html.tmpl
+++ b/template/en/default/list/edit-multiple.html.tmpl
@@ -280,7 +280,7 @@
Reassign</A> bugs to
</label>
<input name="assigned_to"
- value="[% user.login FILTER html %]"
+ value="[% user FILTER html %]"
onchange="document.forms.changeform.knob[[% knum %]].checked = true;"
size="32"><br />