mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 16:52:41 +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:
parent
d23cc4b862
commit
54b952df5d
1 changed files with 8 additions and 11 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue