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, 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 |