Skip to content

Commit 84c3f54

Browse files
committedMar 22, 2013
Minor Token updates.
Summary: Add mobile menu, dust Test Plan: test mobile, click menu Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5417
1 parent 4ffc2a1 commit 84c3f54

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
 

‎src/applications/tokens/controller/PhabricatorTokenController.php

+10
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,20 @@ protected function buildSideNav() {
77
$nav = new AphrontSideNavFilterView();
88
$nav->setBaseURI(new PhutilURI($this->getApplicationURI()));
99

10+
$nav->addLabel(pht('Tokens'));
1011
$nav->addFilter('given/', pht('Tokens Given'));
1112
$nav->addFilter('leaders/', pht('Leader Board'));
1213

1314
return $nav;
1415
}
1516

17+
public function buildApplicationMenu() {
18+
return $this->buildSideNav()->getMenu();
19+
}
20+
21+
public function buildApplicationCrumbs() {
22+
$crumbs = parent::buildApplicationCrumbs();
23+
return $crumbs;
24+
}
25+
1626
}

‎src/applications/tokens/controller/PhabricatorTokenGivenController.php

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ public function processRequest() {
7272
array(
7373
'title' => $title,
7474
'device' => true,
75+
'dust' => true,
7576
));
7677
}
7778

0 commit comments

Comments
 (0)
Failed to load comments.