mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 20:40:56 +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->setMenuID('conpherence-menu');
|
||||
|
||||
$nav->addButton(
|
||||
'new',
|
||||
pht('New Conversation'),
|
||||
$this->getApplicationURI('new/'));
|
||||
$nav->addLabel(pht('Unread'));
|
||||
$nav = $this->addConpherencesToNav(
|
||||
$unread_conpherences,
|
||||
$nav,
|
||||
false,
|
||||
$for_application);
|
||||
$nav->addLabel(pht('Read'));
|
||||
$nav = $this->addConpherencesToNav(
|
||||
$read_conpherences,
|
||||
$nav,
|
||||
true,
|
||||
$for_application);
|
||||
$nav->selectFilter($filter);
|
||||
if (!$for_application) {
|
||||
$nav->addButton(
|
||||
'new',
|
||||
pht('New Conversation'),
|
||||
$this->getApplicationURI('new/'));
|
||||
$nav->addLabel(pht('Unread'));
|
||||
$nav = $this->addConpherencesToNav(
|
||||
$unread_conpherences,
|
||||
$nav,
|
||||
false,
|
||||
$for_application);
|
||||
$nav->addLabel(pht('Read'));
|
||||
$nav = $this->addConpherencesToNav(
|
||||
$read_conpherences,
|
||||
$nav,
|
||||
true,
|
||||
$for_application);
|
||||
$nav->selectFilter($filter);
|
||||
} else {
|
||||
$nav->addFilter(
|
||||
'new',
|
||||
pht('New Conversation'),
|
||||
$this->getApplicationURI('new/'));
|
||||
|
||||
}
|
||||
return $nav;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue