1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Update PhortuneLanding page UI

Summary: Minor, uses 'user-circle' for account, and merchant logo for merchants in lists.

Test Plan: View the landing page, see updated logos and icons.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D17586
This commit is contained in:
Chad Little 2017-03-30 11:17:28 -07:00
parent 86673486c0
commit eb6f4c4a28

View file

@ -18,6 +18,7 @@ final class PhortuneAccountListController extends PhortuneController {
$merchants = id(new PhortuneMerchantQuery())
->setViewer($viewer)
->withMemberPHIDs(array($viewer->getPHID()))
->needProfileImage(true)
->execute();
$title = pht('Accounts');
@ -39,7 +40,7 @@ final class PhortuneAccountListController extends PhortuneController {
->setHeader($account->getName())
->setHref($this->getApplicationURI($account->getID().'/'))
->setObject($account)
->setImageIcon('fa-credit-card');
->setImageIcon('fa-user-circle');
$payment_list->addItem($item);
}
@ -71,7 +72,7 @@ final class PhortuneAccountListController extends PhortuneController {
->setHeader($merchant->getName())
->setHref($this->getApplicationURI('/merchant/'.$merchant->getID().'/'))
->setObject($merchant)
->setImageIcon('fa-bank');
->setImageURI($merchant->getProfileImageURI());
$merchant_list->addItem($item);
}