diff options
author | 2009-10-23 21:32:06 +0000 | |
---|---|---|
committer | 2009-10-23 21:32:06 +0000 | |
commit | 401fb65f2e6f9031cedf47fb6d951236b5c624d3 (patch) | |
tree | 83050744560019f7b6142479cd3246bf00aeb0ec /template/en/default/flag | |
parent | Bug 523869: Insecure dependency error when trying to update some fields (prob... (diff) | |
download | bugzilla-401fb65f2e6f9031cedf47fb6d951236b5c624d3.tar.gz bugzilla-401fb65f2e6f9031cedf47fb6d951236b5c624d3.tar.bz2 bugzilla-401fb65f2e6f9031cedf47fb6d951236b5c624d3.zip |
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.tmpl | 5 |
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 %] |