mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +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->addClass('conpherence-menu');
|
||||||
$nav->setMenuID('conpherence-menu');
|
$nav->setMenuID('conpherence-menu');
|
||||||
|
|
||||||
|
if (!$for_application) {
|
||||||
$nav->addButton(
|
$nav->addButton(
|
||||||
'new',
|
'new',
|
||||||
pht('New Conversation'),
|
pht('New Conversation'),
|
||||||
|
@ -121,6 +122,13 @@ abstract class ConpherenceController extends PhabricatorController {
|
||||||
true,
|
true,
|
||||||
$for_application);
|
$for_application);
|
||||||
$nav->selectFilter($filter);
|
$nav->selectFilter($filter);
|
||||||
|
} else {
|
||||||
|
$nav->addFilter(
|
||||||
|
'new',
|
||||||
|
pht('New Conversation'),
|
||||||
|
$this->getApplicationURI('new/'));
|
||||||
|
|
||||||
|
}
|
||||||
return $nav;
|
return $nav;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue