When a repository is importing, show it on the list view
Summary: Fixes T9191. This is pretty fluff but doesn't hurt anything, I guess. Test Plan: Viewed repository list, saw an importing repository get a little icon. Reviewers: chad Reviewed By: chad Maniphest Tasks: T9191 Differential Revision: https://secure.phabricator.com/D14950
This commit is contained in:
@@ -204,6 +204,8 @@ final class PhabricatorRepositorySearchEngine
|
||||
if (!$repository->isTracked()) {
|
||||
$item->setDisabled(true);
|
||||
$item->addIcon('disable-grey', pht('Inactive'));
|
||||
} else if ($repository->isImporting()) {
|
||||
$item->addIcon('fa-clock-o violet', pht('Importing...'));
|
||||
}
|
||||
|
||||
$list->addItem($item);
|
||||
|
||||
Reference in New Issue
Block a user