Page MenuHomePhabricator

D7411.id16735.diff
No OneTemporary

D7411.id16735.diff

Index: src/applications/diffusion/controller/DiffusionRepositoryEditMainController.php
===================================================================
--- src/applications/diffusion/controller/DiffusionRepositoryEditMainController.php
+++ src/applications/diffusion/controller/DiffusionRepositoryEditMainController.php
@@ -41,12 +41,10 @@
$header = id(new PHUIHeaderView())
->setHeader($title);
- if (!$repository->isTracked()) {
- $header->addTag(
- id(new PhabricatorTagView())
- ->setType(PhabricatorTagView::TYPE_STATE)
- ->setName(pht('Inactive'))
- ->setBackgroundColor(PhabricatorTagView::COLOR_BLACK));
+ if ($repository->isTracked()) {
+ $header->setStatus('oh-ok', '', pht('Active'));
+ } else {
+ $header->setStatus('policy-noone', '', pht('Inactive'));
}
$basic_actions = $this->buildBasicActions($repository);

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 19, 9:21 AM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6731438
Default Alt Text
D7411.id16735.diff (911 B)

Event Timeline