mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 12:00:55 +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:
parent
f9a5cd2bbd
commit
d0cdf1efdb
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue