mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-28 00:10:57 +01:00
Update Feed Story page for newPage
Summary: Cleans up Feed Story individual page Test Plan: View an individual story by clicking on date. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15599
This commit is contained in:
parent
49e5763cd0
commit
5452f215ee
1 changed files with 4 additions and 10 deletions
|
@ -26,19 +26,13 @@ final class PhabricatorFeedDetailController extends PhabricatorFeedController {
|
|||
|
||||
$title = pht('Story');
|
||||
|
||||
$feed_view = phutil_tag_div('phabricator-feed-frame', $feed_view);
|
||||
|
||||
$crumbs = $this->buildApplicationCrumbs();
|
||||
$crumbs->addTextCrumb($title);
|
||||
|
||||
return $this->buildApplicationPage(
|
||||
array(
|
||||
$crumbs,
|
||||
$feed_view,
|
||||
),
|
||||
array(
|
||||
'title' => $title,
|
||||
));
|
||||
return $this->newPage()
|
||||
->setTitle($title)
|
||||
->setCrumbs($crumbs)
|
||||
->appendChild($feed_view);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue