Convert rest of SPRITE_STATUS to FontAwesome
Summary: Updates policy, headers, typeaheads to FA over policy icons Need advice - can't seem to place where icons come from on Typeahead? Wrong icons and wrong colors.... it is late Test Plan: - grepped for SPRITE_STATUS - grepped for sprite-status - grepped for setStatus for headers - grepped individual icons names Browsed numerous places, checked new dropdowns, see pudgy people. Reviewers: epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T4739 Differential Revision: https://secure.phabricator.com/D9179
This commit is contained in:
@@ -150,11 +150,11 @@ final class DiffusionRepositoryController extends DiffusionController {
|
||||
->setPolicyObject($repository);
|
||||
|
||||
if (!$repository->isTracked()) {
|
||||
$header->setStatus('policy-noone', '', pht('Inactive'));
|
||||
$header->setStatus('fa-ban', 'dark', pht('Inactive'));
|
||||
} else if ($repository->isImporting()) {
|
||||
$header->setStatus('time', 'red', pht('Importing...'));
|
||||
$header->setStatus('fa-clock-o', 'indigo', pht('Importing...'));
|
||||
} else {
|
||||
$header->setStatus('oh-ok', '', pht('Active'));
|
||||
$header->setStatus('fa-check', 'bluegrey', pht('Active'));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user