mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 04:50:55 +01:00
Remove messages from Conpherence mobile-menu
Summary: These never looked right, and with the revised mobile design, shouldn't be needed. Test Plan: iOS, Chrome Reviewers: epriestley, btrahan Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5426
This commit is contained in:
parent
9a15f243fa
commit
c81592bf5c
1 changed files with 25 additions and 17 deletions
|
@ -104,23 +104,31 @@ abstract class ConpherenceController extends PhabricatorController {
|
||||||
$nav->addClass('conpherence-menu');
|
$nav->addClass('conpherence-menu');
|
||||||
$nav->setMenuID('conpherence-menu');
|
$nav->setMenuID('conpherence-menu');
|
||||||
|
|
||||||
$nav->addButton(
|
if (!$for_application) {
|
||||||
'new',
|
$nav->addButton(
|
||||||
pht('New Conversation'),
|
'new',
|
||||||
$this->getApplicationURI('new/'));
|
pht('New Conversation'),
|
||||||
$nav->addLabel(pht('Unread'));
|
$this->getApplicationURI('new/'));
|
||||||
$nav = $this->addConpherencesToNav(
|
$nav->addLabel(pht('Unread'));
|
||||||
$unread_conpherences,
|
$nav = $this->addConpherencesToNav(
|
||||||
$nav,
|
$unread_conpherences,
|
||||||
false,
|
$nav,
|
||||||
$for_application);
|
false,
|
||||||
$nav->addLabel(pht('Read'));
|
$for_application);
|
||||||
$nav = $this->addConpherencesToNav(
|
$nav->addLabel(pht('Read'));
|
||||||
$read_conpherences,
|
$nav = $this->addConpherencesToNav(
|
||||||
$nav,
|
$read_conpherences,
|
||||||
true,
|
$nav,
|
||||||
$for_application);
|
true,
|
||||||
$nav->selectFilter($filter);
|
$for_application);
|
||||||
|
$nav->selectFilter($filter);
|
||||||
|
} else {
|
||||||
|
$nav->addFilter(
|
||||||
|
'new',
|
||||||
|
pht('New Conversation'),
|
||||||
|
$this->getApplicationURI('new/'));
|
||||||
|
|
||||||
|
}
|
||||||
return $nav;
|
return $nav;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue