summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorMatt McHenry <mozilla@matt.mchenryfamily.org>2010-06-22 04:30:36 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-06-22 04:30:36 +0200
commitb25ce729062f54cc0520eecffc97e775ce75ab3c (patch)
tree3ab8fdcbb523e14b12cdfaac71d8dde348f8f58e /template/en/default
parente3fd496e1ecc34f3db4c9415cf0ad387d56c6066 (diff)
downloadbugzilla-b25ce729062f54cc0520eecffc97e775ce75ab3c.tar.gz
bugzilla-b25ce729062f54cc0520eecffc97e775ce75ab3c.tar.xz
Bug 398473: User preference for the position of the comment box
r=mkanat, a=mkanat
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/bug/edit.html.tmpl9
-rw-r--r--template/en/default/global/setting-descs.none.tmpl3
2 files changed, 11 insertions, 1 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index d9342a93c..479e67c1e 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -218,7 +218,9 @@
show_attachment_flags = bug.show_attachment_flags
%]
- [% PROCESS comment_box %]
+ [% IF user.settings.comment_box_position.value == 'before_comments' %]
+ [% PROCESS comment_box %]
+ [% END %]
</td>
<td>
[% PROCESS section_restrict_visibility %]
@@ -233,6 +235,11 @@
%]
</div>
+ [% IF user.settings.comment_box_position.value == 'after_comments' %]
+ <hr>
+ [% PROCESS comment_box %]
+ [% END %]
+
</form>
[%############################################################################%]
diff --git a/template/en/default/global/setting-descs.none.tmpl b/template/en/default/global/setting-descs.none.tmpl
index 661334c38..e96e3169d 100644
--- a/template/en/default/global/setting-descs.none.tmpl
+++ b/template/en/default/global/setting-descs.none.tmpl
@@ -43,6 +43,9 @@
"quote_replies" => "Quote the associated comment when you click on its reply link",
"quoted_reply" => "Quote the full comment",
"simple_reply" => "Reference the comment number only",
+ "comment_box_position" => "Position of the Additional Comments box",
+ "before_comments" => "Before other comments",
+ "after_comments" => "After other comments",
"timezone" => "Timezone used to display dates and times",
"local" => "Same as the server",
}