1
0
Fork 0
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:
Chad Little 2013-01-18 18:17:01 -08:00
parent 34076fae38
commit ca34580123

View file

@ -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);