mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 08:42:41 +01:00
Touch up Flags
Summary: Normalizes the sidebar, add pht, remove filter panel. Test Plan: Reload Reviewers: epriestley, btrahan Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4522
This commit is contained in:
parent
34076fae38
commit
ca34580123
1 changed files with 4 additions and 2 deletions
|
@ -8,7 +8,8 @@ final class PhabricatorFlagListController extends PhabricatorFlagController {
|
|||
|
||||
$nav = new AphrontSideNavFilterView();
|
||||
$nav->setBaseURI(new PhutilURI('/flag/view/'));
|
||||
$nav->addFilter('all', 'Flags');
|
||||
$nav->addLabel(pht('Flags'));
|
||||
$nav->addFilter('all', pht('Your Flags'));
|
||||
$nav->selectFilter('all', 'all');
|
||||
|
||||
$query = new PhabricatorFlagQuery();
|
||||
|
@ -23,8 +24,9 @@ final class PhabricatorFlagListController extends PhabricatorFlagController {
|
|||
$view->setUser($user);
|
||||
|
||||
$panel = new AphrontPanelView();
|
||||
$panel->setHeader('Flags');
|
||||
$panel->setHeader(pht('Flags'));
|
||||
$panel->appendChild($view);
|
||||
$panel->setNoBackground();
|
||||
|
||||
$nav->appendChild($panel);
|
||||
|
||||
|
|
Loading…
Reference in a new issue