1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 03:50:54 +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);
$actions = $this->buildActionListView($initiative);
$properties->setActionList($actions);
$crumbs->setActionList($actions);
$box = id(new PHUIObjectBoxView())
->setHeader($header)

View file

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

View file

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