diff options
Diffstat (limited to 'template/en/default/bug')
-rw-r--r-- | template/en/default/bug/votes/list-for-user.html.tmpl | 10 |
1 files changed, 6 insertions, 4 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 261e0f864..4797d71b7 100644 --- a/template/en/default/bug/votes/list-for-user.html.tmpl +++ b/template/en/default/bug/votes/list-for-user.html.tmpl @@ -21,9 +21,11 @@ [% PROCESS global/header.html.tmpl title = "Show Votes" - h2 = user.name + h2 = voting_user.name %] +[% canedit = 1 IF voting_user.login == user.login %] + [% IF votes_recorded %] <p> <font color="red"> @@ -76,7 +78,7 @@ </a> </td> <td align="right"> - [% IF user.canedit %] + [% IF canedit %] [% IF product.onevoteonly %] <input type="checkbox" name="[% bug.id %]" value="1" [% " checked" IF bug.count %]> @@ -103,7 +105,7 @@ [% END %] </table> - [% IF user.canedit %] + [% IF canedit %] <input type="submit" value="Change My Votes"> <br> <br> @@ -114,7 +116,7 @@ </form> [% ELSE %] <p> - [% IF user.canedit %] + [% IF canedit %] You are [% ELSE %] This user is |