Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
555a6472
Commit
555a6472
authored
Feb 26, 2005
by
travis%sedsystems.ca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 182939 : Remove the word 'Additional' from 'Additional Comments'
Patch by Shane H. W. Travis <travis@sedsystems.ca> r=myk a=myk
parent
58d63b13
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
globals.pl
globals.pl
+3
-3
comments.html.tmpl
template/en/default/bug/comments.html.tmpl
+1
-1
midair.html.tmpl
template/en/default/bug/process/midair.html.tmpl
+2
-2
No files found.
globals.pl
View file @
555a6472
...
...
@@ -967,8 +967,8 @@ sub GetLongDescriptionAsText {
"AND longdescs.bug_id = $id "
);
if
(
$start
&&
$start
=~
/[1-9]/
)
{
# If
the start is all zeros, then don't do this (because we want to
#
not emit a leading "Additional Comments" line in that cas
e.)
# If
$start is not all zeros, obtain the count-index
#
of this comment for the leading "Comment #xxx" lin
e.)
$query
.=
"AND longdescs.bug_when > '$start'"
;
SendSQL
(
"SELECT count(*) FROM longdescs WHERE bug_id = $id AND bug_when <= '$start'"
);
(
$count
)
=
(
FetchSQLData
());
...
...
@@ -983,7 +983,7 @@ sub GetLongDescriptionAsText {
my
(
$who
,
$when
,
$text
,
$isprivate
,
$work_time
,
$already_wrapped
)
=
(
FetchSQLData
());
if
(
$count
)
{
$result
.=
"\n\n-------
Additional c
omment #$count from $who"
.
Param
(
'emailsuffix'
)
.
" "
.
$result
.=
"\n\n-------
C
omment #$count from $who"
.
Param
(
'emailsuffix'
)
.
" "
.
Bugzilla::Util::
format_time
(
$when
)
.
" -------\n"
;
}
if
((
$isprivate
>
0
)
&&
Param
(
"insidergroup"
))
{
...
...
template/en/default/bug/comments.html.tmpl
View file @
555a6472
...
...
@@ -49,7 +49,7 @@
[% IF count > 0 %]
<br>
<span class="bz_comment">
------- <i>
Additional
Comment
------- <i>Comment
<a name="c[% count %]" href="#c[% count %]">#[% count %]</a> From
<a href="mailto:[% comment.email FILTER html %]">
[% comment.name FILTER html %]</a>
...
...
template/en/default/bug/process/midair.html.tmpl
View file @
555a6472
...
...
@@ -53,7 +53,7 @@
[% IF comments.size > start_at %]
<p>
Added
comments
:
Added
the comment(s)
:
<blockquote>
[% PROCESS "bug/comments.html.tmpl" %]
</blockquote>
...
...
@@ -61,7 +61,7 @@
[% END %]
<p>
Your
additional
comment was:<br>
Your comment was:<br>
<blockquote><pre>[% form.comment FILTER html %]</pre></blockquote>
</p>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment