mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-20 13:52:40 +01:00
[Redesign] Update Config UI
Summary: Ref T8099, Sets a StatusIcon instead of a barColor on config status lists. Test Plan: Review ignored and non-ignored status items. Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T8341, T8099 Differential Revision: https://secure.phabricator.com/D13050
This commit is contained in:
parent
784a59abd9
commit
d60f763c89
1 changed files with 2 additions and 2 deletions
|
@ -89,12 +89,12 @@ final class PhabricatorConfigIssueListController
|
||||||
->setHref($href)
|
->setHref($href)
|
||||||
->addAttribute($issue->getSummary());
|
->addAttribute($issue->getSummary());
|
||||||
if (!$issue->getIsIgnored()) {
|
if (!$issue->getIsIgnored()) {
|
||||||
$item->setBarColor('yellow');
|
$item->setStatusIcon('fa-warning yellow');
|
||||||
$list->addItem($item);
|
$list->addItem($item);
|
||||||
} else {
|
} else {
|
||||||
$item->addIcon('fa-eye-slash', pht('Ignored'));
|
$item->addIcon('fa-eye-slash', pht('Ignored'));
|
||||||
$item->setDisabled(true);
|
$item->setDisabled(true);
|
||||||
$item->setBarColor('none');
|
$item->setStatusIcon('fa-warning grey');
|
||||||
$ignored_items[] = $item;
|
$ignored_items[] = $item;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue