From a2a9bf47a40740e89673a6f398afaa76c4e5da92 Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Fri, 28 Jan 2005 03:12:53 +0000 Subject: Bug 276605 : Ignore vote changes when usevotes = 0 Patch by Frederic Buclin r=wurblzap a=myk --- template/en/default/bug/votes/list-for-user.html.tmpl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'template/en') 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 9bb3a1dd6..968c66862 100644 --- a/template/en/default/bug/votes/list-for-user.html.tmpl +++ b/template/en/default/bug/votes/list-for-user.html.tmpl @@ -23,13 +23,16 @@ [% IF !header_done %] [% h2 = voting_user.login FILTER html %] - [% PROCESS global/header.html.tmpl title = "Show Votes" %] + [% IF canedit %] + [% title = "Change Votes" %] + [% ELSE %] + [% title = "Show Votes" %] + [% END %] + [% PROCESS global/header.html.tmpl %] [% ELSE %]
[% END %] -[% canedit = 1 IF voting_user.login == user.login %] - [% IF votes_recorded %]

-- cgit v1.2.3-24-g4f1b