@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

+25 -17
+25 -17
src/applications/conpherence/controller/ConpherenceController.php
··· 104 104 $nav->addClass('conpherence-menu'); 105 105 $nav->setMenuID('conpherence-menu'); 106 106 107 - $nav->addButton( 108 - 'new', 109 - pht('New Conversation'), 110 - $this->getApplicationURI('new/')); 111 - $nav->addLabel(pht('Unread')); 112 - $nav = $this->addConpherencesToNav( 113 - $unread_conpherences, 114 - $nav, 115 - false, 116 - $for_application); 117 - $nav->addLabel(pht('Read')); 118 - $nav = $this->addConpherencesToNav( 119 - $read_conpherences, 120 - $nav, 121 - true, 122 - $for_application); 123 - $nav->selectFilter($filter); 107 + if (!$for_application) { 108 + $nav->addButton( 109 + 'new', 110 + pht('New Conversation'), 111 + $this->getApplicationURI('new/')); 112 + $nav->addLabel(pht('Unread')); 113 + $nav = $this->addConpherencesToNav( 114 + $unread_conpherences, 115 + $nav, 116 + false, 117 + $for_application); 118 + $nav->addLabel(pht('Read')); 119 + $nav = $this->addConpherencesToNav( 120 + $read_conpherences, 121 + $nav, 122 + true, 123 + $for_application); 124 + $nav->selectFilter($filter); 125 + } else { 126 + $nav->addFilter( 127 + 'new', 128 + pht('New Conversation'), 129 + $this->getApplicationURI('new/')); 130 + 131 + } 124 132 return $nav; 125 133 } 126 134