Page MenuHomePhabricator

D8984.id.diff
No OneTemporary

D8984.id.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
Fri, Oct 25, 7:00 AM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6718616
Default Alt Text
D8984.id.diff (1 KB)

Event Timeline