Bug 311913: Add support for X-Bugzilla-Keywords and X-Bugzilla-Severity to email notifications - Patch by Mark Loeser <halcy0n@gentoo.org> r=LpSolit a=justdave

This commit is contained in:
lpsolit%gmail.com 2005-10-14 23:14:33 +00:00
Родитель 140056dddf
Коммит 4ada70af40
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -584,6 +584,8 @@ sub sendMail {
}
$substs{"product"} = $values{'product'};
$substs{"component"} = $values{'component'};
$substs{"keywords"} = $values{'keywords'};
$substs{"severity"} = $values{'bug_severity'};
$substs{"summary"} = $values{'short_desc'};
$substs{"reasonsheader"} = join(" ", map { $rel_names{$_} } @$relRef);
$substs{"reasonsbody"} = $reasonsbody;

Просмотреть файл

@ -89,6 +89,8 @@ Subject: [Bug %bugid%] %neworchanged%%summary%
X-Bugzilla-Reason: %reasonsheader%
X-Bugzilla-Product: %product%
X-Bugzilla-Component: %component%
X-Bugzilla-Keywords: %keywords%
X-Bugzilla-Severity: %severity%
%urlbase%show_bug.cgi?id=%bugid%