Page MenuHomePhabricator

D12133.diff
No OneTemporary

D12133.diff

diff --git a/src/applications/harbormaster/typeahead/HarbormasterBuildPlanDatasource.php b/src/applications/harbormaster/typeahead/HarbormasterBuildPlanDatasource.php
--- a/src/applications/harbormaster/typeahead/HarbormasterBuildPlanDatasource.php
+++ b/src/applications/harbormaster/typeahead/HarbormasterBuildPlanDatasource.php
@@ -21,8 +21,14 @@
->setViewer($viewer)
->execute();
foreach ($plans as $plan) {
+ $closed = null;
+ if ($plan->isDisabled()) {
+ $closed = pht('Disabled');
+ }
+
$results[] = id(new PhabricatorTypeaheadResult())
->setName($plan->getName())
+ ->setClosed($closed)
->setPHID($plan->getPHID());
}

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 20, 11:42 AM (18 h, 36 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7022831
Default Alt Text
D12133.diff (707 B)

Event Timeline