From b26634d776066be7e6e358bfff0bad4a25a27d51 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Sat, 8 Oct 2005 11:58:54 +0000 Subject: Bug 28398 Gotta be more careful when emailing state changes of dependent bugs Patch by André Batosti r=lpsolit, a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/bug/process/bugmail.html.tmpl | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'template') diff --git a/template/en/default/bug/process/bugmail.html.tmpl b/template/en/default/bug/process/bugmail.html.tmpl index a2a6e7353..a5d20e78d 100644 --- a/template/en/default/bug/process/bugmail.html.tmpl +++ b/template/en/default/bug/process/bugmail.html.tmpl @@ -62,11 +62,15 @@ [% BLOCK emails %] [% description FILTER html %]: - [% IF names.size > 0 %] - [%+ FOREACH name = names %] - [% name FILTER html %][% ", " UNLESS loop.last() %] + [% IF user.can_see_bug(mailing_bugid) %] + [% IF names.size > 0 %] + [%+ FOREACH name = names %] + [% name FILTER html %][% ", " UNLESS loop.last() %] + [% END %] + [% ELSE %] + no one [% END %] [% ELSE %] - no one + (list of e-mails not avaliable) [% END %] [% END %] -- cgit v1.2.3-24-g4f1b