From f1d9113d83214ba08069f695ba176dec90a0d770 Mon Sep 17 00:00:00 2001 From: Guy Pyrzak Date: Sun, 19 Sep 2010 01:20:02 +0200 Subject: Bug 574338: When comment box is positioned at [top|bottom], include "Add Comment" link at [bottom|top] r/a=mkanat --- template/en/default/bug/comments.html.tmpl | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'template') diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index e44e4e7b9..9a7a050af 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -65,6 +65,14 @@ [% count = count + increment %] [% END %] +[% IF user.settings.comment_box_position.value == "before_comments" && user.id %] +
+ + Add Comment +
+[% END %] + [%# Note: this template is used in multiple places; if you use this hook, # make sure you are aware of this fact. #%] @@ -78,6 +86,11 @@ return false;">Collapse All Comments
  • Expand All Comments
  • + [% IF user.settings.comment_box_position.value == "after_comments" && user.id %] +
  • + Add Comment
  • + [% END %] [% END %] -- cgit v1.2.3-24-g4f1b