Page MenuHomePhabricator

D8158.diff
No OneTemporary

D8158.diff

Index: src/applications/herald/adapter/HeraldAdapter.php
===================================================================
--- src/applications/herald/adapter/HeraldAdapter.php
+++ src/applications/herald/adapter/HeraldAdapter.php
@@ -1013,9 +1013,16 @@
$target = array($target);
}
foreach ($target as $index => $val) {
- $handle = idx($handles, $val);
- if ($handle) {
- $target[$index] = $handle->renderLink();
+ switch ($action->getAction()) {
+ case self::ACTION_FLAG:
+ $target[$index] = PhabricatorFlagColor::getColorName($val);
+ break;
+ default:
+ $handle = idx($handles, $val);
+ if ($handle) {
+ $target[$index] = $handle->renderLink();
+ }
+ break;
}
}
$target = phutil_implode_html(', ', $target);

File Metadata

Mime Type
text/plain
Expires
Tue, Mar 18, 3:01 AM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7709285
Default Alt Text
D8158.diff (848 B)

Event Timeline