summaryrefslogtreecommitdiffstats
path: root/template/en/default/flag
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-10-23 23:32:06 +0200
committerlpsolit%gmail.com <>2009-10-23 23:32:06 +0200
commit401fb65f2e6f9031cedf47fb6d951236b5c624d3 (patch)
tree83050744560019f7b6142479cd3246bf00aeb0ec /template/en/default/flag
parentf30aa492d193a0489fb0480c451f092ec819bbac (diff)
downloadbugzilla-401fb65f2e6f9031cedf47fb6d951236b5c624d3.tar.gz
bugzilla-401fb65f2e6f9031cedf47fb6d951236b5c624d3.tar.xz
Bug 365267: attachment.cgi should not be editable when the user is not logged in - Patch by Frédéric Buclin <LpSolit@gmail.com> r=pyrzak a=LpSolit
Diffstat (limited to 'template/en/default/flag')
-rw-r--r--template/en/default/flag/list.html.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl
index 2568e7b4b..5c810480f 100644
--- a/template/en/default/flag/list.html.tmpl
+++ b/template/en/default/flag/list.html.tmpl
@@ -192,8 +192,13 @@
[% ELSE %]
[%# The user is logged out. Display flags as read-only. %]
+ [% header_displayed = 0 %]
[% FOREACH type = flag_types %]
[% FOREACH flag = type.flags %]
+ [% IF !flag_no_header AND !header_displayed %]
+ <p><b>Flags:</b></p>
+ [% header_displayed = 1 %]
+ [% END %]
[% flag.setter.nick FILTER html %]:
[%+ type.name FILTER html FILTER no_break %][% flag.status %]
[% IF flag.requestee %]