1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 02:32:42 +01:00

Fix weird gap/spacing on user "Manage" page

Summary: I added this recently for debugging test notifications, but goofed up the markup, thought it was just some weird layout issue, and never got back to it.

Test Plan: {F6063455}

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D19892
This commit is contained in:
epriestley 2018-12-14 15:18:11 -08:00
parent d23cc4b862
commit 54b952df5d

View file

@ -36,17 +36,18 @@ final class PhabricatorPeopleProfileManageController
$crumbs->addTextCrumb(pht('Manage')); $crumbs->addTextCrumb(pht('Manage'));
$crumbs->setBorder(true); $crumbs->setBorder(true);
$timeline = $this->buildTransactionTimeline(
$user,
new PhabricatorPeopleTransactionQuery());
$timeline->setShouldTerminate(true);
$manage = id(new PHUITwoColumnView()) $manage = id(new PHUITwoColumnView())
->setHeader($header) ->setHeader($header)
->addClass('project-view-home') ->addClass('project-view-home')
->addClass('project-view-people-home') ->addClass('project-view-people-home')
->setCurtain($curtain) ->setCurtain($curtain)
->addPropertySection(pht('Details'), $properties); ->addPropertySection(pht('Details'), $properties)
->setMainColumn($timeline);
$timeline = $this->buildTransactionTimeline(
$user,
new PhabricatorPeopleTransactionQuery());
$timeline->setShouldTerminate(true);
return $this->newPage() return $this->newPage()
->setTitle( ->setTitle(
@ -56,11 +57,7 @@ final class PhabricatorPeopleProfileManageController
)) ))
->setNavigation($nav) ->setNavigation($nav)
->setCrumbs($crumbs) ->setCrumbs($crumbs)
->appendChild( ->appendChild($manage);
array(
$manage,
$timeline,
));
} }
private function buildPropertyView(PhabricatorUser $user) { private function buildPropertyView(PhabricatorUser $user) {