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
b26634d7
Commit
b26634d7
authored
Oct 08, 2005
by
bugreport%peshkin.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 28398 Gotta be more careful when emailing state changes of dependent bugs
Patch by AndrÃÂ
©
Batosti <batosti@async.com.br> r=lpsolit, a=justdave
parent
1ba2db8a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
process_bug.cgi
process_bug.cgi
+3
-3
bugmail.html.tmpl
template/en/default/bug/process/bugmail.html.tmpl
+8
-4
No files found.
process_bug.cgi
View file @
b26634d7
...
@@ -1914,9 +1914,9 @@ foreach my $id (@idlist) {
...
@@ -1914,9 +1914,9 @@ foreach my $id (@idlist) {
$vars
->
{
'id'
}
=
$k
;
$vars
->
{
'id'
}
=
$k
;
$vars
->
{
'type'
}
=
"dep"
;
$vars
->
{
'type'
}
=
"dep"
;
# Let the user
know we checked to see if we should email notice
# Let the user
(if he is able to see the bug) know we checked to see
#
of this change to users with a relationship to the dependent
#
if we should email notice of this change to users with a relationship
# bug and who did and didn't receive email about it.
#
to the dependent
bug and who did and didn't receive email about it.
$template
->
process
(
"bug/process/results.html.tmpl"
,
$vars
)
$template
->
process
(
"bug/process/results.html.tmpl"
,
$vars
)
||
ThrowTemplateError
(
$template
->
error
());
||
ThrowTemplateError
(
$template
->
error
());
$vars
->
{
'header_done'
}
=
1
;
$vars
->
{
'header_done'
}
=
1
;
...
...
template/en/default/bug/process/bugmail.html.tmpl
View file @
b26634d7
...
@@ -62,11 +62,15 @@
...
@@ -62,11 +62,15 @@
[% BLOCK emails %]
[% BLOCK emails %]
<b>[% description FILTER html %]:</b>
<b>[% description FILTER html %]:</b>
[% IF names.size > 0 %]
[% IF user.can_see_bug(mailing_bugid) %]
[%+ FOREACH name = names %]
[% IF names.size > 0 %]
[% name FILTER html %][% ", " UNLESS loop.last() %]
[%+ FOREACH name = names %]
[% name FILTER html %][% ", " UNLESS loop.last() %]
[% END %]
[% ELSE %]
no one
[% END %]
[% END %]
[% ELSE %]
[% ELSE %]
no one
(list of e-mails not avaliable)
[% END %]
[% END %]
[% END %]
[% END %]
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