aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default/attachment
diff options
context:
space:
mode:
authorGuy Pyrzak <guypyrzak@guyah>2010-03-02 22:33:14 -0800
committerGuy Pyrzak <guypyrzak@guyah>2010-03-02 22:33:14 -0800
commit9b24ebbcb31958a5217a23cbf30794df7bb5360a (patch)
tree35acf7c54eee78f040fc48c8da6f221dcb9b9516 /template/en/default/attachment
parent2df35fc7a5139c4c478e1989b7122672f68f7be6 (diff)
downloadbugs-9b24ebbcb31958a5217a23cbf30794df7bb5360a.tar
bugs-9b24ebbcb31958a5217a23cbf30794df7bb5360a.tar.gz
bugs-9b24ebbcb31958a5217a23cbf30794df7bb5360a.tar.bz2
bugs-9b24ebbcb31958a5217a23cbf30794df7bb5360a.tar.xz
bugs-9b24ebbcb31958a5217a23cbf30794df7bb5360a.zip
101770v2
Diffstat (limited to 'template/en/default/attachment')
-rw-r--r--template/en/default/attachment/edit.html.tmpl56
1 files changed, 29 insertions, 27 deletions
diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl
index 5407c0aa2..2b533c916 100644
--- a/template/en/default/attachment/edit.html.tmpl
+++ b/template/en/default/attachment/edit.html.tmpl
@@ -243,35 +243,37 @@
[% END %]
</div>
<div id="attachment_comments_and_flags">
- [% IF user.id %]
- <div id="smallCommentFrame" >
- <label for="comment">Comment (on the [% terms.bug %]):</label>
- [% 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
- %]
- </div>
- [% END %]
- [% IF attachment.flag_types.size > 0 %]
+ [% IF user.id %]
+ <div id="smallCommentFrame" >
+ <label for="comment">Comment (on the [% terms.bug %]):</label>
+ [% 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
+ %]
+ </div>
+ [% END %]
<div id="attachment_flags">
- [% PROCESS "flag/list.html.tmpl" bug_id = attachment.bug_id
- attach_id = attachment.id
- flag_types = attachment.flag_types
- read_only_flags = !can_edit
- %]
- </div>
- [% END %]
- [% IF user.id %]
- <div id="update_container">
- <input type="submit" value="Submit" id="update">
+ [% 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 %]
+ <div id="update_container">
+ <input type="submit" value="Submit" id="update">
+ </div>
+ [% END %]
</div>
- [% END %]
</div>
</div>
</div>