1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 05:12:41 +01:00

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:
epriestley 2016-01-05 13:28:41 -08:00
parent f9a5cd2bbd
commit d0cdf1efdb

View file

@ -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);