From: Guy Pyrzak Date: Wed, 3 Mar 2010 06:33:14 +0000 (-0800) Subject: 101770v2 X-Git-Tag: bugzilla-3.7.1~198^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b24ebbcb31958a5217a23cbf30794df7bb5360a;p=thirdparty%2Fbugzilla.git 101770v2 --- diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index 5407c0aa23..2b533c9165 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -243,35 +243,37 @@ [% END %]
- [% IF user.id %] -
- - [% classNames = 'block' %] - [% classNames = "$classes bz_private" IF attachment.isprivate %] - [% INCLUDE global/textarea.html.tmpl - id = 'comment' - name = 'comment' - minrows = 10 - cols = 80 - wrap = 'soft' - classes = classNames - %] -
- [% END %] - [% IF attachment.flag_types.size > 0 %] + [% IF user.id %] +
+ + [% classNames = 'block' %] + [% classNames = "$classes bz_private" IF attachment.isprivate %] + [% INCLUDE global/textarea.html.tmpl + id = 'comment' + name = 'comment' + minrows = 10 + cols = 80 + wrap = 'soft' + classes = classNames + %] +
+ [% END %]
- [% PROCESS "flag/list.html.tmpl" bug_id = attachment.bug_id - attach_id = attachment.id - flag_types = attachment.flag_types - read_only_flags = !can_edit - %] -
- [% END %] - [% IF user.id %] -
- + [% IF attachment.flag_types.size > 0 %] + + [% PROCESS "flag/list.html.tmpl" bug_id = attachment.bug_id + attach_id = attachment.id + flag_types = attachment.flag_types + read_only_flags = !can_edit + %] + + [% END %] + [% IF user.id %] +
+ +
+ [% END %]
- [% END %]