1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 01:08:50 +02: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->setBorder(true);
$timeline = $this->buildTransactionTimeline(
$user,
new PhabricatorPeopleTransactionQuery());
$timeline->setShouldTerminate(true);
$manage = id(new PHUITwoColumnView())
->setHeader($header)
->addClass('project-view-home')
->addClass('project-view-people-home')
->setCurtain($curtain)
->addPropertySection(pht('Details'), $properties);
$timeline = $this->buildTransactionTimeline(
$user,
new PhabricatorPeopleTransactionQuery());
$timeline->setShouldTerminate(true);
->addPropertySection(pht('Details'), $properties)
->setMainColumn($timeline);
return $this->newPage()
->setTitle(
@ -56,11 +57,7 @@ final class PhabricatorPeopleProfileManageController
))
->setNavigation($nav)
->setCrumbs($crumbs)
->appendChild(
array(
$manage,
$timeline,
));
->appendChild($manage);
}
private function buildPropertyView(PhabricatorUser $user) {