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:
parent
86673486c0
commit
eb6f4c4a28
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue