mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 15:22:41 +01:00
Show search/login on tablet and mobile.
Summary: We should always have some sort of menu on mobile for logging in. Test Plan: Test mobile, tablet, and desktop breakpoints. Gate seearch icon by public_policy. Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T4731 Differential Revision: https://secure.phabricator.com/D8868
This commit is contained in:
parent
7492bbeff7
commit
7671a962c7
1 changed files with 5 additions and 0 deletions
|
@ -41,6 +41,11 @@ final class PhabricatorMainMenuView extends AphrontView {
|
|||
$menus = array_merge($menus, $dropdowns);
|
||||
$app_button = $this->renderApplicationMenuButton($header_id);
|
||||
$search_button = $this->renderSearchMenuButton($header_id);
|
||||
} else {
|
||||
$app_button = $this->renderApplicationMenuButton($header_id);
|
||||
if (PhabricatorEnv::getEnvConfig('policy.allow-public')) {
|
||||
$search_button = $this->renderSearchMenuButton($header_id);
|
||||
}
|
||||
}
|
||||
|
||||
$search_menu = $this->renderPhabricatorSearchMenu();
|
||||
|
|
Loading…
Reference in a new issue