3 final class ReleephBranchHistoryController
extends ReleephBranchController
{
5 public function shouldAllowPublic() {
9 public function handleRequest(AphrontRequest
$request) {
10 $viewer = $request->getViewer();
11 $id = $request->getURIData('branchID');
13 $branch = id(new ReleephBranchQuery())
18 return new Aphront404Response();
20 $this->setBranch($branch);
22 $timeline = $this->buildTransactionTimeline(
24 new ReleephBranchTransactionQuery());
26 ->setShouldTerminate(true);
28 $crumbs = $this->buildApplicationCrumbs();
29 $crumbs->addTextCrumb(pht('History'));
30 $crumbs->setBorder(true);
32 $title = pht('Branch History');
34 return $this->newPage()
37 ->appendChild($timeline);