From d0cdf1efdb315a241d9f190943853f8926090a14 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 5 Jan 2016 13:28:41 -0800 Subject: [PATCH] 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 --- .../repository/query/PhabricatorRepositorySearchEngine.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/applications/repository/query/PhabricatorRepositorySearchEngine.php b/src/applications/repository/query/PhabricatorRepositorySearchEngine.php index 0587e314b7..98175f88d7 100644 --- a/src/applications/repository/query/PhabricatorRepositorySearchEngine.php +++ b/src/applications/repository/query/PhabricatorRepositorySearchEngine.php @@ -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);