From 87679d4295ea1b3857c2a4a0637b8efd81ca33cf Mon Sep 17 00:00:00 2001 From: Chad Little Date: Wed, 15 Oct 2014 12:17:25 -0700 Subject: [PATCH] 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 --- .../fund/controller/FundInitiativeViewController.php | 1 + .../phortune/controller/PhortuneCartViewController.php | 1 + .../phortune/controller/PhortuneMerchantViewController.php | 1 + 3 files changed, 3 insertions(+) diff --git a/src/applications/fund/controller/FundInitiativeViewController.php b/src/applications/fund/controller/FundInitiativeViewController.php index 6dc3ee1d11..c3c64b7556 100644 --- a/src/applications/fund/controller/FundInitiativeViewController.php +++ b/src/applications/fund/controller/FundInitiativeViewController.php @@ -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) diff --git a/src/applications/phortune/controller/PhortuneCartViewController.php b/src/applications/phortune/controller/PhortuneCartViewController.php index 2ec49cc6c6..d02182ac36 100644 --- a/src/applications/phortune/controller/PhortuneCartViewController.php +++ b/src/applications/phortune/controller/PhortuneCartViewController.php @@ -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) diff --git a/src/applications/phortune/controller/PhortuneMerchantViewController.php b/src/applications/phortune/controller/PhortuneMerchantViewController.php index da6640c411..2fe2b76716 100644 --- a/src/applications/phortune/controller/PhortuneMerchantViewController.php +++ b/src/applications/phortune/controller/PhortuneMerchantViewController.php @@ -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,