From b25ce729062f54cc0520eecffc97e775ce75ab3c Mon Sep 17 00:00:00 2001 From: Matt McHenry Date: Mon, 21 Jun 2010 19:30:36 -0700 Subject: Bug 398473: User preference for the position of the comment box r=mkanat, a=mkanat --- template/en/default/bug/edit.html.tmpl | 9 ++++++++- template/en/default/global/setting-descs.none.tmpl | 3 +++ 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'template') 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 %] [% PROCESS section_restrict_visibility %] @@ -233,6 +235,11 @@ %] + [% IF user.settings.comment_box_position.value == 'after_comments' %] +
+ [% PROCESS comment_box %] + [% END %] + [%############################################################################%] 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", } -- cgit v1.2.3-24-g4f1b