Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13975247
D7411.id16735.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
911 B
Referenced Files
None
Subscribers
None
D7411.id16735.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D7411: Use status header stuff for "Edit Repository"
Attached
Detach File
Event Timeline
Log In to Comment