Differential D7787 Diff 17644 src/applications/daemon/controller/PhabricatorDaemonLogViewController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/daemon/controller/PhabricatorDaemonLogViewController.php
Show All 20 Lines | if (!$log) { | ||||
return new Aphront404Response(); | return new Aphront404Response(); | ||||
} | } | ||||
$events = id(new PhabricatorDaemonLogEvent())->loadAllWhere( | $events = id(new PhabricatorDaemonLogEvent())->loadAllWhere( | ||||
'logID = %d ORDER BY id DESC LIMIT 1000', | 'logID = %d ORDER BY id DESC LIMIT 1000', | ||||
$log->getID()); | $log->getID()); | ||||
$crumbs = $this->buildApplicationCrumbs(); | $crumbs = $this->buildApplicationCrumbs(); | ||||
$crumbs->addCrumb( | $crumbs->addTextCrumb(pht('Daemon %s', $log->getID())); | ||||
id(new PhabricatorCrumbView()) | |||||
->setName(pht('Daemon %s', $log->getID()))); | |||||
$header = id(new PHUIHeaderView()) | $header = id(new PHUIHeaderView()) | ||||
->setHeader($log->getDaemon()); | ->setHeader($log->getDaemon()); | ||||
$tag = id(new PhabricatorTagView()) | $tag = id(new PhabricatorTagView()) | ||||
->setType(PhabricatorTagView::TYPE_STATE); | ->setType(PhabricatorTagView::TYPE_STATE); | ||||
$status = $log->getStatus(); | $status = $log->getStatus(); | ||||
▲ Show 20 Lines • Show All 144 Lines • Show Last 20 Lines |