1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 05:12:41 +01:00

Add actions to crumbs in fund/phortune

Summary: These were missing. Sorry, need to fix this interface someday.

Test Plan: pay for stuff on mobile

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D10708
This commit is contained in:
Chad Little 2014-10-15 12:17:25 -07:00
parent f10fbb8600
commit 87679d4295
3 changed files with 3 additions and 0 deletions

View file

@ -54,6 +54,7 @@ final class FundInitiativeViewController
$properties = $this->buildPropertyListView($initiative); $properties = $this->buildPropertyListView($initiative);
$actions = $this->buildActionListView($initiative); $actions = $this->buildActionListView($initiative);
$properties->setActionList($actions); $properties->setActionList($actions);
$crumbs->setActionList($actions);
$box = id(new PHUIObjectBoxView()) $box = id(new PHUIObjectBoxView())
->setHeader($header) ->setHeader($header)

View file

@ -159,6 +159,7 @@ final class PhortuneCartViewController
$crumbs = $this->buildApplicationCrumbs(); $crumbs = $this->buildApplicationCrumbs();
$this->addAccountCrumb($crumbs, $cart->getAccount()); $this->addAccountCrumb($crumbs, $cart->getAccount());
$crumbs->addTextCrumb(pht('Cart %d', $cart->getID())); $crumbs->addTextCrumb(pht('Cart %d', $cart->getID()));
$crumbs->setActionList($actions);
$xactions = id(new PhortuneCartTransactionQuery()) $xactions = id(new PhortuneCartTransactionQuery())
->setViewer($viewer) ->setViewer($viewer)

View file

@ -43,6 +43,7 @@ final class PhortuneMerchantViewController
$properties = $this->buildPropertyListView($merchant, $providers); $properties = $this->buildPropertyListView($merchant, $providers);
$actions = $this->buildActionListView($merchant); $actions = $this->buildActionListView($merchant);
$properties->setActionList($actions); $properties->setActionList($actions);
$crumbs->setActionList($actions);
$provider_list = $this->buildProviderList( $provider_list = $this->buildProviderList(
$merchant, $merchant,