1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 22:40:55 +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()) $merchants = id(new PhortuneMerchantQuery())
->setViewer($viewer) ->setViewer($viewer)
->withMemberPHIDs(array($viewer->getPHID())) ->withMemberPHIDs(array($viewer->getPHID()))
->needProfileImage(true)
->execute(); ->execute();
$title = pht('Accounts'); $title = pht('Accounts');
@ -39,7 +40,7 @@ final class PhortuneAccountListController extends PhortuneController {
->setHeader($account->getName()) ->setHeader($account->getName())
->setHref($this->getApplicationURI($account->getID().'/')) ->setHref($this->getApplicationURI($account->getID().'/'))
->setObject($account) ->setObject($account)
->setImageIcon('fa-credit-card'); ->setImageIcon('fa-user-circle');
$payment_list->addItem($item); $payment_list->addItem($item);
} }
@ -71,7 +72,7 @@ final class PhortuneAccountListController extends PhortuneController {
->setHeader($merchant->getName()) ->setHeader($merchant->getName())
->setHref($this->getApplicationURI('/merchant/'.$merchant->getID().'/')) ->setHref($this->getApplicationURI('/merchant/'.$merchant->getID().'/'))
->setObject($merchant) ->setObject($merchant)
->setImageIcon('fa-bank'); ->setImageURI($merchant->getProfileImageURI());
$merchant_list->addItem($item); $merchant_list->addItem($item);
} }