mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-29 18:22:41 +01:00
Condition "Changes Since Last Action" Differential link on "first broadcast", not "new object"
Summary: Ref T13187. Ref T13176. With drafts, we actually want to suppress this link on "first broadcast" (the first time we send mail), not on "new object" (when the revision is created as a draft). Test Plan: Poked at this locally, will keep an eye on it in production. Reviewers: amckinley Maniphest Tasks: T13187, T13176 Differential Revision: https://secure.phabricator.com/D19598
This commit is contained in:
parent
ca618a8679
commit
5e4d9dfa92
1 changed files with 1 additions and 1 deletions
|
@ -671,7 +671,7 @@ final class DifferentialTransactionEditor
|
||||||
|
|
||||||
$this->addCustomFieldsToMailBody($body, $object, $xactions);
|
$this->addCustomFieldsToMailBody($body, $object, $xactions);
|
||||||
|
|
||||||
if (!$this->getIsNewObject()) {
|
if (!$this->isFirstBroadcast()) {
|
||||||
$body->addLinkSection(pht('CHANGES SINCE LAST ACTION'), $new_uri);
|
$body->addLinkSection(pht('CHANGES SINCE LAST ACTION'), $new_uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue