diff options
author | gerv%gerv.net <> | 2002-05-08 06:28:39 +0200 |
---|---|---|
committer | gerv%gerv.net <> | 2002-05-08 06:28:39 +0200 |
commit | d756467055959872b1a443d2c60417135b0d05e9 (patch) | |
tree | d1f3401ac634e7cc5407d6340f068aa44e0470e9 /template/en/default/bug/votes | |
parent | 4afae456014ff01ee01e11279fc5a9b5f4f7b5bf (diff) | |
download | bugzilla-d756467055959872b1a443d2c60417135b0d05e9.tar.gz bugzilla-d756467055959872b1a443d2c60417135b0d05e9.tar.xz |
Bug 140435 - Templatise GetCommandMenu. Patch by gerv; r=bbaetz, justdave.
Diffstat (limited to 'template/en/default/bug/votes')
-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 |