Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/panel/PhabricatorActivitySettingsPanel.php
| Show All 37 Lines | if ($phids) { | ||||
| ->withPHIDs($phids) | ->withPHIDs($phids) | ||||
| ->execute(); | ->execute(); | ||||
| } else { | } else { | ||||
| $handles = array(); | $handles = array(); | ||||
| } | } | ||||
| $table = id(new PhabricatorUserLogView()) | $table = id(new PhabricatorUserLogView()) | ||||
| ->setUser($viewer) | ->setUser($viewer) | ||||
| ->setLogs($logs) | ->setLogs($logs); | ||||
| ->setHandles($handles); | |||||
| $panel = $this->newBox(pht('Account Activity Logs'), $table); | $panel = $this->newBox(pht('Account Activity Logs'), $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; | ||||
| } | } | ||||
| } | } | ||||