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,6 +104,7 @@ abstract class ConpherenceController extends PhabricatorController {
|
|||
$nav->addClass('conpherence-menu');
|
||||
$nav->setMenuID('conpherence-menu');
|
||||
|
||||
if (!$for_application) {
|
||||
$nav->addButton(
|
||||
'new',
|
||||
pht('New Conversation'),
|
||||
|
@ -121,6 +122,13 @@ abstract class ConpherenceController extends PhabricatorController {
|
|||
true,
|
||||
$for_application);
|
||||
$nav->selectFilter($filter);
|
||||
} else {
|
||||
$nav->addFilter(
|
||||
'new',
|
||||
pht('New Conversation'),
|
||||
$this->getApplicationURI('new/'));
|
||||
|
||||
}
|
||||
return $nav;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue