Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/panel/PhabricatorActivitySettingsPanel.php
Show All 40 Lines | if ($phids) { | ||||
$handles = array(); | $handles = array(); | ||||
} | } | ||||
$table = id(new PhabricatorUserLogView()) | $table = id(new PhabricatorUserLogView()) | ||||
->setUser($viewer) | ->setUser($viewer) | ||||
->setLogs($logs) | ->setLogs($logs) | ||||
->setHandles($handles); | ->setHandles($handles); | ||||
$panel = id(new PHUIObjectBoxView()) | $panel = $this->newBox(pht('Account Activity Logs'), $table); | ||||
->setHeaderText(pht('Account Activity Logs')) | |||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY) | |||||
->setTable($table); | |||||
$pager_box = id(new PHUIBoxView()) | $pager_box = id(new PHUIBoxView()) | ||||
->addMargin(PHUI::MARGIN_LARGE) | ->addMargin(PHUI::MARGIN_LARGE) | ||||
->appendChild($pager); | ->appendChild($pager); | ||||
return array($panel, $pager_box); | return array($panel, $pager_box); | ||||
} | } | ||||
public function isManagementPanel() { | public function isManagementPanel() { | ||||
return true; | return true; | ||||
} | } | ||||
} | } |