From f90a0b775e927aad00631ce80d282186a3022af5 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 20 Sep 2006 04:47:49 +0000 Subject: =?UTF-8?q?Bug=20348518:=20grant=20/=20reject=20options=20for=20fl?= =?UTF-8?q?ag=20listbox=20should=20only=20appear=20if=20user=20is=20a=20me?= =?UTF-8?q?mber=20of=20grantgroup=20-=20Patch=20by=20Fr=C3=A9d=C3=A9ric=20?= =?UTF-8?q?Buclin=20=20r/a=3Dmyk?= 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/list.html.tmpl') 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.1