1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 15:22:41 +01:00

Provide link to all rooms when on mobile Conpherence

Summary: There isn't any link back to all your joined rooms when on mobile, add it here.

Test Plan: Pull up mobile, click on menu, see list of threads, click on other room.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D16717
This commit is contained in:
Chad Little 2016-10-18 10:23:39 -07:00
parent 4e831e786e
commit 919eac3f90

View file

@ -18,6 +18,12 @@ abstract class ConpherenceController extends PhabricatorController {
// Local Links // Local Links
if ($conpherence) { if ($conpherence) {
$nav->addMenuItem(
id(new PHUIListItemView())
->setName(pht('Joined Rooms'))
->setType(PHUIListItemView::TYPE_LINK)
->setHref($this->getApplicationURI()));
$nav->addMenuItem( $nav->addMenuItem(
id(new PHUIListItemView()) id(new PHUIListItemView())
->setName(pht('Edit Room')) ->setName(pht('Edit Room'))