Commit 555a6472 authored by travis%sedsystems.ca's avatar travis%sedsystems.ca

Bug 182939 : Remove the word 'Additional' from 'Additional Comments'

Patch by Shane H. W. Travis <travis@sedsystems.ca> r=myk a=myk
parent 58d63b13
...@@ -967,8 +967,8 @@ sub GetLongDescriptionAsText { ...@@ -967,8 +967,8 @@ sub GetLongDescriptionAsText {
"AND longdescs.bug_id = $id "); "AND longdescs.bug_id = $id ");
if ($start && $start =~ /[1-9]/) { if ($start && $start =~ /[1-9]/) {
# If the start is all zeros, then don't do this (because we want to # If $start is not all zeros, obtain the count-index
# not emit a leading "Additional Comments" line in that case.) # of this comment for the leading "Comment #xxx" line.)
$query .= "AND longdescs.bug_when > '$start'"; $query .= "AND longdescs.bug_when > '$start'";
SendSQL("SELECT count(*) FROM longdescs WHERE bug_id = $id AND bug_when <= '$start'"); SendSQL("SELECT count(*) FROM longdescs WHERE bug_id = $id AND bug_when <= '$start'");
($count) = (FetchSQLData()); ($count) = (FetchSQLData());
...@@ -983,7 +983,7 @@ sub GetLongDescriptionAsText { ...@@ -983,7 +983,7 @@ sub GetLongDescriptionAsText {
my ($who, $when, $text, $isprivate, $work_time, $already_wrapped) = my ($who, $when, $text, $isprivate, $work_time, $already_wrapped) =
(FetchSQLData()); (FetchSQLData());
if ($count) { if ($count) {
$result .= "\n\n------- Additional comment #$count from $who".Param('emailsuffix')." ". $result .= "\n\n------- Comment #$count from $who".Param('emailsuffix')." ".
Bugzilla::Util::format_time($when) . " -------\n"; Bugzilla::Util::format_time($when) . " -------\n";
} }
if (($isprivate > 0) && Param("insidergroup")) { if (($isprivate > 0) && Param("insidergroup")) {
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
[% IF count > 0 %] [% IF count > 0 %]
<br> <br>
<span class="bz_comment"> <span class="bz_comment">
------- <i>Additional Comment ------- <i>Comment
<a name="c[% count %]" href="#c[% count %]">#[% count %]</a> From <a name="c[% count %]" href="#c[% count %]">#[% count %]</a> From
<a href="mailto:[% comment.email FILTER html %]"> <a href="mailto:[% comment.email FILTER html %]">
[% comment.name FILTER html %]</a> [% comment.name FILTER html %]</a>
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
[% IF comments.size > start_at %] [% IF comments.size > start_at %]
<p> <p>
Added comments: Added the comment(s):
<blockquote> <blockquote>
[% PROCESS "bug/comments.html.tmpl" %] [% PROCESS "bug/comments.html.tmpl" %]
</blockquote> </blockquote>
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
[% END %] [% END %]
<p> <p>
Your additional comment was:<br> Your comment was:<br>
<blockquote><pre>[% form.comment FILTER html %]</pre></blockquote> <blockquote><pre>[% form.comment FILTER html %]</pre></blockquote>
</p> </p>
......
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