Fixed to have the short name of the subject instead of InDefero.
This commit is contained in:
parent
7ca43e0ec2
commit
97425529b1
@ -163,8 +163,8 @@ class IDF_Views_Issue
|
||||
);
|
||||
$oemail = $issue->get_owner()->email;
|
||||
$email = new Pluf_Mail(Pluf::f('from_email'), $oemail,
|
||||
sprintf(__('Issue %s - %s (InDefero)'),
|
||||
$issue->id, $issue->summary));
|
||||
sprintf(__('Issue %s - %s (%s)'),
|
||||
$issue->id, $issue->summary, $prj->shortname));
|
||||
$tmpl = new Pluf_Template('issues/issue-created-email.txt');
|
||||
$email->addTextMessage($tmpl->render($context));
|
||||
$email->sendMail();
|
||||
@ -281,8 +281,8 @@ class IDF_Views_Issue
|
||||
$email = new Pluf_Mail_Batch(Pluf::f('from_email'));
|
||||
foreach ($interested as $user) {
|
||||
if ($user->id != $request->user->id) {
|
||||
$email->setSubject(sprintf(__('Updated Issue %s - %s (InDefero)'),
|
||||
$issue->id, $issue->summary));
|
||||
$email->setSubject(sprintf(__('Updated Issue %s - %s (%s)'),
|
||||
$issue->id, $issue->summary, $prj->shortname));
|
||||
$email->setTo($user->email);
|
||||
$email->setReturnPath(Pluf::f('from_email'));
|
||||
$email->addTextMessage($text_email);
|
||||
|
Loading…
Reference in New Issue
Block a user