@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Use status header stuff for "Edit Repository"

Summary: Ref T2231. Use status info element instead of tags.

Test Plan: {F75092}

Reviewers: chad, btrahan

Reviewed By: chad

CC: aran

Maniphest Tasks: T2231

Differential Revision: https://secure.phabricator.com/D7411

+4 -6
+4 -6
src/applications/diffusion/controller/DiffusionRepositoryEditMainController.php
··· 41 41 42 42 $header = id(new PHUIHeaderView()) 43 43 ->setHeader($title); 44 - if (!$repository->isTracked()) { 45 - $header->addTag( 46 - id(new PhabricatorTagView()) 47 - ->setType(PhabricatorTagView::TYPE_STATE) 48 - ->setName(pht('Inactive')) 49 - ->setBackgroundColor(PhabricatorTagView::COLOR_BLACK)); 44 + if ($repository->isTracked()) { 45 + $header->setStatus('oh-ok', '', pht('Active')); 46 + } else { 47 + $header->setStatus('policy-noone', '', pht('Inactive')); 50 48 } 51 49 52 50 $basic_actions = $this->buildBasicActions($repository);