Page MenuHomePhabricator

D8984.diff
No OneTemporary

D8984.diff

diff --git a/src/applications/transactions/storage/PhabricatorApplicationTransaction.php b/src/applications/transactions/storage/PhabricatorApplicationTransaction.php
--- a/src/applications/transactions/storage/PhabricatorApplicationTransaction.php
+++ b/src/applications/transactions/storage/PhabricatorApplicationTransaction.php
@@ -340,6 +340,10 @@
public function getIcon() {
switch ($this->getTransactionType()) {
case PhabricatorTransactions::TYPE_COMMENT:
+ $comment = $this->getComment();
+ if ($comment && $comment->getIsRemoved()) {
+ return 'fa-eraser';
+ }
return 'fa-comment';
case PhabricatorTransactions::TYPE_SUBSCRIBERS:
return 'fa-envelope';
@@ -380,6 +384,12 @@
public function getColor() {
switch ($this->getTransactionType()) {
+ case PhabricatorTransactions::TYPE_COMMENT;
+ $comment = $this->getComment();
+ if ($comment && $comment->getIsRemoved()) {
+ return 'black';
+ }
+ break;
case PhabricatorTransactions::TYPE_BUILDABLE:
switch ($this->getNewValue()) {
case HarbormasterBuildable::STATUS_PASSED:

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 5:31 AM (1 h, 44 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6718616
Default Alt Text
D8984.diff (1 KB)

Event Timeline