Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phriction/controller/PhrictionHistoryController.php
Show First 20 Lines • Show All 150 Lines • ▼ Show 20 Lines | public function processRequest() { | ||||
$header->setHeader(phutil_tag( | $header->setHeader(phutil_tag( | ||||
'a', | 'a', | ||||
array('href' => PhrictionDocument::getSlugURI($document->getSlug())), | array('href' => PhrictionDocument::getSlugURI($document->getSlug())), | ||||
head($history)->getTitle())); | head($history)->getTitle())); | ||||
$header->setSubheader(pht('Document History')); | $header->setSubheader(pht('Document History')); | ||||
$obj_box = id(new PHUIObjectBoxView()) | $obj_box = id(new PHUIObjectBoxView()) | ||||
->setHeader($header) | ->setHeader($header) | ||||
->setObjectList($list) | ->setObjectList($list); | ||||
$pager = id(new PHUIBoxView()) | |||||
->addClass('ml') | |||||
->appendChild($pager); | ->appendChild($pager); | ||||
return $this->buildApplicationPage( | return $this->buildApplicationPage( | ||||
array( | array( | ||||
$crumbs, | $crumbs, | ||||
$obj_box, | $obj_box, | ||||
$pager, | |||||
), | ), | ||||
array( | array( | ||||
'title' => pht('Document History'), | 'title' => pht('Document History'), | ||||
)); | )); | ||||
} | } | ||||
} | } |