Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/panel/PhabricatorActivitySettingsPanel.php
| <?php | <?php | ||||
| final class PhabricatorActivitySettingsPanel extends PhabricatorSettingsPanel { | final class PhabricatorActivitySettingsPanel extends PhabricatorSettingsPanel { | ||||
| public function isEditableByAdministrators() { | |||||
| return true; | |||||
| } | |||||
| public function getPanelKey() { | public function getPanelKey() { | ||||
| return 'activity'; | return 'activity'; | ||||
| } | } | ||||
| public function getPanelName() { | public function getPanelName() { | ||||
| return pht('Activity Logs'); | return pht('Activity Logs'); | ||||
| } | } | ||||
| Show All 39 Lines | public function processRequest(AphrontRequest $request) { | ||||
| $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() { | |||||
| return true; | |||||
| } | |||||
| } | } | ||||