aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Install.pm3
-rw-r--r--template/en/default/bug/edit.html.tmpl9
-rw-r--r--template/en/default/global/setting-descs.none.tmpl3
3 files changed, 14 insertions, 1 deletions
diff --git a/Bugzilla/Install.pm b/Bugzilla/Install.pm
index 9c798ceb9..e90fe41db 100644
--- a/Bugzilla/Install.pm
+++ b/Bugzilla/Install.pm
@@ -65,6 +65,9 @@ sub SETTINGS {
# 2007-07-02 altlist@gmail.com -- Bug 225731
quote_replies => { options => ['quoted_reply', 'simple_reply', 'off'],
default => "quoted_reply" },
+ # 2009-02-01 mozilla@matt.mchenryfamily.org -- Bug 398473
+ comment_box_position => { options => ['before_comments', 'after_comments'],
+ default => 'before_comments' },
# 2008-08-27 LpSolit@gmail.com -- Bug 182238
timezone => { subclass => 'Timezone', default => 'local' },
}
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",
}