Changeset View
Changeset View
Standalone View
Standalone View
src/applications/drydock/controller/DrydockController.php
Show First 20 Lines • Show All 99 Lines • ▼ Show 20 Lines | protected function buildLogBox(DrydockLogQuery $query, $all_uri) { | ||||
$log_header = id(new PHUIHeaderView()) | $log_header = id(new PHUIHeaderView()) | ||||
->setHeader(pht('Logs')) | ->setHeader(pht('Logs')) | ||||
->addActionLink( | ->addActionLink( | ||||
id(new PHUIButtonView()) | id(new PHUIButtonView()) | ||||
->setTag('a') | ->setTag('a') | ||||
->setHref($all_uri) | ->setHref($all_uri) | ||||
->setIconFont('fa-search') | ->setIconFont('fa-search') | ||||
->setText(pht('View All Logs'))); | ->setText(pht('View All'))); | ||||
return id(new PHUIObjectBoxView()) | return id(new PHUIObjectBoxView()) | ||||
->setHeader($log_header) | ->setHeader($log_header) | ||||
->setTable($log_table); | ->setTable($log_table); | ||||
} | } | ||||
} | } |