mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-01 18:30:59 +01:00
Update Tokens for newPage
Summary: Minor, moves to `newPage` Test Plan: Test both pages, still work Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15582
This commit is contained in:
parent
64e117f1a5
commit
7a1d2087d4
2 changed files with 8 additions and 11 deletions
|
@ -71,12 +71,10 @@ final class PhabricatorTokenGivenController extends PhabricatorTokenController {
|
||||||
$nav->appendChild($box);
|
$nav->appendChild($box);
|
||||||
$nav->appendChild($pager);
|
$nav->appendChild($pager);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->newPage()
|
||||||
$nav,
|
->setTitle($title)
|
||||||
array(
|
->appendChild($nav);
|
||||||
'title' => $title,
|
|
||||||
));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,11 +55,10 @@ final class PhabricatorTokenLeaderController
|
||||||
$nav->appendChild($box);
|
$nav->appendChild($box);
|
||||||
$nav->appendChild($pager);
|
$nav->appendChild($pager);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->newPage()
|
||||||
$nav,
|
->setTitle($title)
|
||||||
array(
|
->appendChild($nav);
|
||||||
'title' => $title,
|
|
||||||
));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue