Commit b25ce729 authored by Matt McHenry's avatar Matt McHenry Committed by Max Kanat-Alexander

Bug 398473: User preference for the position of the comment box

r=mkanat, a=mkanat
parent e3fd496e
......@@ -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' },
}
......
......@@ -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>
[%############################################################################%]
......
......@@ -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",
}
......
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