Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15430201
D7411.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.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
Tue, Mar 25, 6:26 AM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7332197
Default Alt Text
D7411.diff (911 B)
Attached To
Mode
D7411: Use status header stuff for "Edit Repository"
Attached
Detach File
Event Timeline
Log In to Comment