From 481ce783a381eabe3c40294f0c2d37cde0e7dcbb Mon Sep 17 00:00:00 2001 From: "kiko%async.com.br" <> Date: Tue, 2 Sep 2003 07:11:25 +0000 Subject: Fix for bug 207754 aka bugreplies: It should be possible to produce a quoted reply to a comment. Adds a reply link that uses JS to paste in a quoted comment into the comment textarea. Patch by me, r=caillon, preed, bbaetz a=justdave --- template/en/default/bug/comments.html.tmpl | 14 ++++-- template/en/default/bug/edit.html.tmpl | 76 +++++++++++++++++++++++++++--- 2 files changed, 79 insertions(+), 11 deletions(-) (limited to 'template') diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index 98d7ae386..0ea28ef3b 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -41,12 +41,17 @@
[% IF count > 0 %]
- ------- Additional Comment + ------- Additional Comment #[% count %] From - [% comment.name FILTER html %] + + [% comment.name FILTER html %] [%+ comment.time FILTER time %] - ------- + [% IF mode == "edit" %] + + [% END %] + ------- [% END %] [% IF mode == "edit" && isinsider %] @@ -64,10 +69,11 @@ Additional hours worked: [% PROCESS formattimeunit time_unit=comment.work_time %] [% END %] + [%# Don't indent the
 block, since then the spaces are displayed in the
   # generated HTML
   #%]
-
+
   [%- comment.body FILTER quoteUrls -%]
 
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 259362074..5b02d23b8 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -24,9 +24,68 @@ [% PROCESS bug/time.html.tmpl %] -[% IF UserInGroup(Param('timetrackinggroup')) %] -[% END %]
@@ -389,7 +449,8 @@ Private [% END %]
-
@@ -575,19 +636,20 @@ [%# *** Additional Comments *** %] +
- - Description: - + Description:   Opened: [% bug.creation_ts FILTER time %]
-
[% PROCESS bug/comments.html.tmpl comments = bug.longdescs -- cgit v1.2.3-24-g4f1b