1
0
Fork 0
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:
epriestley 2018-08-24 09:50:36 -07:00
parent ca618a8679
commit 5e4d9dfa92

View file

@ -671,7 +671,7 @@ final class DifferentialTransactionEditor
$this->addCustomFieldsToMailBody($body, $object, $xactions);
if (!$this->getIsNewObject()) {
if (!$this->isFirstBroadcast()) {
$body->addLinkSection(pht('CHANGES SINCE LAST ACTION'), $new_uri);
}