From f4d7c9c1f03ec0fedbe9c0db6cf50cc657f87a7e Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Wed, 10 Feb 2010 00:57:03 +0100 Subject: Bug 545253: Do not display flags as editable when you cannot edit attachment attributes a=LpSolit (module owner) --- template/en/default/flag/list.html.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 adf12565c..c0bffd704 100644 --- a/template/en/default/flag/list.html.tmpl +++ b/template/en/default/flag/list.html.tmpl @@ -18,7 +18,7 @@ # Contributor(s): Myk Melez #%] -[% IF user.id %] +[% IF user.id AND !read_only_flags %] [%# We list flags by looping twice over the flag types relevant for the bug. # In the first loop, we display existing flags and then, for active types, -- cgit v1.2.3-24-g4f1b