diff options
author | kiko%async.com.br <> | 2003-09-02 09:11:25 +0200 |
---|---|---|
committer | kiko%async.com.br <> | 2003-09-02 09:11:25 +0200 |
commit | 481ce783a381eabe3c40294f0c2d37cde0e7dcbb (patch) | |
tree | 0b426947452fdc82b28faa6c3b100254c9cea42c /template/en/default/bug/comments.html.tmpl | |
parent | 133773391de44935c3bc648bf6f8ce55fee8bc03 (diff) | |
download | bugzilla-481ce783a381eabe3c40294f0c2d37cde0e7dcbb.tar.gz bugzilla-481ce783a381eabe3c40294f0c2d37cde0e7dcbb.tar.xz |
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
Diffstat (limited to 'template/en/default/bug/comments.html.tmpl')
-rw-r--r-- | template/en/default/bug/comments.html.tmpl | 14 |
1 files changed, 10 insertions, 4 deletions
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 @@ <div [% "class=\"bz_private\"" IF comment.isprivate %]> [% IF count > 0 %] <br> - <i>------- Additional Comment + ------- <i>Additional Comment <a name="c[% count %]" href="#c[% count %]">#[% count %]</a> From - <a href="mailto:[% comment.email FILTER html %]">[% comment.name FILTER html %]</a> + <a href="mailto:[% comment.email FILTER html %]"> + [% comment.name FILTER html %]</a> [%+ comment.time FILTER time %] - ------- </i> + [% IF mode == "edit" %] + <script type="text/javascript" language="JavaScript"><!-- + addReplyLink([% count %]); //--></script> + [% 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 <pre> block, since then the spaces are displayed in the # generated HTML #%] -<pre> +<pre[% ' id="comment_text_' _ count _ '"' IF mode == "edit" %]> [%- comment.body FILTER quoteUrls -%] </pre> </div> |