Differential D19294 Diff 46177 src/applications/differential/editor/DifferentialTransactionEditor.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/editor/DifferentialTransactionEditor.php
Show First 20 Lines • Show All 562 Lines • ▼ Show 20 Lines | if ($this->isFirstBroadcast()) { | ||||
$type_update = DifferentialRevisionUpdateTransaction::TRANSACTIONTYPE; | $type_update = DifferentialRevisionUpdateTransaction::TRANSACTIONTYPE; | ||||
if ($strongest->getTransactionType() == $type_update) { | if ($strongest->getTransactionType() == $type_update) { | ||||
$show_lines = true; | $show_lines = true; | ||||
} | } | ||||
} | } | ||||
if ($show_lines) { | if ($show_lines) { | ||||
$count = new PhutilNumber($object->getLineCount()); | $count = new PhutilNumber($object->getLineCount()); | ||||
$action = pht('%s, %s line(s)', $action, $count); | $action = pht('%s] [%s', $action, $object->getRevisionScaleGlyphs()); | ||||
} | } | ||||
return $action; | return $action; | ||||
} | } | ||||
protected function getMailSubjectPrefix() { | protected function getMailSubjectPrefix() { | ||||
return PhabricatorEnv::getEnvConfig('metamta.differential.subject-prefix'); | return PhabricatorEnv::getEnvConfig('metamta.differential.subject-prefix'); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 1,087 Lines • Show Last 20 Lines |