summaryrefslogtreecommitdiffstats
path: root/template/en/default/flag
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-02-10 00:57:03 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2010-02-10 00:57:03 +0100
commitf4d7c9c1f03ec0fedbe9c0db6cf50cc657f87a7e (patch)
tree63c002607fef7861c0f4313adcde6cf4377adbab /template/en/default/flag
parent300f1db2e55f177623db677db270946256e128d8 (diff)
downloadbugzilla-f4d7c9c1f03ec0fedbe9c0db6cf50cc657f87a7e.tar.gz
bugzilla-f4d7c9c1f03ec0fedbe9c0db6cf50cc657f87a7e.tar.xz
Bug 545253: Do not display flags as editable when you cannot edit attachment attributes
a=LpSolit (module owner)
Diffstat (limited to 'template/en/default/flag')
-rw-r--r--template/en/default/flag/list.html.tmpl2
1 files changed, 1 insertions, 1 deletions
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 <myk@mozilla.org>
#%]
-[% 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,