Commit 9b24ebbc authored by Guy Pyrzak's avatar Guy Pyrzak

101770v2

parent 2df35fc7
...@@ -243,35 +243,37 @@ ...@@ -243,35 +243,37 @@
[% END %] [% END %]
</div> </div>
<div id="attachment_comments_and_flags"> <div id="attachment_comments_and_flags">
[% IF user.id %] [% IF user.id %]
<div id="smallCommentFrame" > <div id="smallCommentFrame" >
<label for="comment">Comment (on the [% terms.bug %]):</label> <label for="comment">Comment (on the [% terms.bug %]):</label>
[% classNames = 'block' %] [% classNames = 'block' %]
[% classNames = "$classes bz_private" IF attachment.isprivate %] [% classNames = "$classes bz_private" IF attachment.isprivate %]
[% INCLUDE global/textarea.html.tmpl [% INCLUDE global/textarea.html.tmpl
id = 'comment' id = 'comment'
name = 'comment' name = 'comment'
minrows = 10 minrows = 10
cols = 80 cols = 80
wrap = 'soft' wrap = 'soft'
classes = classNames classes = classNames
%] %]
</div> </div>
[% END %] [% END %]
[% IF attachment.flag_types.size > 0 %]
<div id="attachment_flags"> <div id="attachment_flags">
[% PROCESS "flag/list.html.tmpl" bug_id = attachment.bug_id [% IF attachment.flag_types.size > 0 %]
attach_id = attachment.id
flag_types = attachment.flag_types [% PROCESS "flag/list.html.tmpl" bug_id = attachment.bug_id
read_only_flags = !can_edit attach_id = attachment.id
%] flag_types = attachment.flag_types
</div> read_only_flags = !can_edit
[% END %] %]
[% IF user.id %]
<div id="update_container"> [% END %]
<input type="submit" value="Submit" id="update"> [% IF user.id %]
<div id="update_container">
<input type="submit" value="Submit" id="update">
</div>
[% END %]
</div> </div>
[% END %]
</div> </div>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment