mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 12:52:42 +01:00
Update daemon status icons to FontAwesome
Summary: Fixes T5400. Couple of these were missed. Test Plan: Forced daemons into all statuses, viewed icons. Reviewers: chad Reviewed By: chad Subscribers: epriestley Maniphest Tasks: T5400 Differential Revision: https://secure.phabricator.com/D9612
This commit is contained in:
parent
df3736e81e
commit
b93fe30008
1 changed files with 4 additions and 4 deletions
|
@ -41,12 +41,12 @@ final class PhabricatorDaemonLogListView extends AphrontView {
|
|||
pht(
|
||||
'This daemon is lost or exited uncleanly, and is presumed '.
|
||||
'dead.'));
|
||||
$item->addIcon('delete', pht('Dead'));
|
||||
$item->addIcon('fa-times grey', pht('Dead'));
|
||||
break;
|
||||
case PhabricatorDaemonLog::STATUS_EXITED:
|
||||
$item->setDisabled(true);
|
||||
$item->addAttribute(pht('This daemon exited cleanly.'));
|
||||
$item->addIcon('enable-grey', pht('Exited'));
|
||||
$item->addIcon('fa-check grey', pht('Exited'));
|
||||
break;
|
||||
case PhabricatorDaemonLog::STATUS_WAIT:
|
||||
$item->setBarColor('blue');
|
||||
|
@ -54,7 +54,7 @@ final class PhabricatorDaemonLogListView extends AphrontView {
|
|||
pht(
|
||||
'This daemon encountered an error recently and is waiting a '.
|
||||
'moment to restart.'));
|
||||
$item->addIcon('perflab-grey', pht('Waiting'));
|
||||
$item->addIcon('fa-clock-o grey', pht('Waiting'));
|
||||
break;
|
||||
case PhabricatorDaemonLog::STATUS_UNKNOWN:
|
||||
default:
|
||||
|
@ -63,7 +63,7 @@ final class PhabricatorDaemonLogListView extends AphrontView {
|
|||
pht(
|
||||
'This daemon has not reported its status recently. It may '.
|
||||
'have exited uncleanly.'));
|
||||
$item->addIcon('warning', pht('Unknown'));
|
||||
$item->addIcon('fa-exclamation-circle', pht('Unknown'));
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue