Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/controller/DiffusionCommitController.php
Show First 20 Lines • Show All 801 Lines • ▼ Show 20 Lines | if (count($merges) > $limit) { | ||||
new PhutilNumber($limit))); | new PhutilNumber($limit))); | ||||
} | } | ||||
$history_table = id(new DiffusionHistoryTableView()) | $history_table = id(new DiffusionHistoryTableView()) | ||||
->setUser($viewer) | ->setUser($viewer) | ||||
->setDiffusionRequest($drequest) | ->setDiffusionRequest($drequest) | ||||
->setHistory($merges); | ->setHistory($merges); | ||||
$history_table->loadRevisions(); | |||||
$panel = id(new PHUIObjectBoxView()) | $panel = id(new PHUIObjectBoxView()) | ||||
->setHeaderText(pht('Merged Changes')) | ->setHeaderText(pht('Merged Changes')) | ||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY) | ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY) | ||||
->setTable($history_table); | ->setTable($history_table); | ||||
if ($caption) { | if ($caption) { | ||||
$panel->setInfoView($caption); | $panel->setInfoView($caption); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 346 Lines • Show Last 20 Lines |