From f90a0b775e927aad00631ce80d282186a3022af5 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 20 Sep 2006 04:47:49 +0000 Subject: Bug 348518: grant / reject options for flag listbox should only appear if user is a member of grantgroup - Patch by Frédéric Buclin r/a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/flag/list.html.tmpl | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) (limited to 'template/en/default/flag') diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl index 643547405..463ade125 100644 --- a/template/en/default/flag/list.html.tmpl +++ b/template/en/default/flag/list.html.tmpl @@ -104,11 +104,18 @@ - - - [% IF type.is_requestable %] + [% IF user.can_set_flag(type) %] + + + [% END %] + [% IF type.is_requestable && user.can_request_flag(type) %] [% END %] @@ -186,11 +196,14 @@ -- cgit v1.2.3-24-g4f1b