Differential D16020 Diff 38572 src/applications/settings/panel/PhabricatorEmailFormatSettingsPanel.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/panel/PhabricatorEmailFormatSettingsPanel.php
| <?php | <?php | ||||
| final class PhabricatorEmailFormatSettingsPanel | final class PhabricatorEmailFormatSettingsPanel | ||||
| extends PhabricatorSettingsPanel { | extends PhabricatorSettingsPanel { | ||||
| public function getPanelKey() { | public function getPanelKey() { | ||||
| return 'emailformat'; | return 'emailformat'; | ||||
| } | } | ||||
| public function getPanelName() { | public function getPanelName() { | ||||
| return pht('Email Format'); | return pht('Email Format'); | ||||
| } | } | ||||
| public function getPanelGroup() { | public function getPanelGroupKey() { | ||||
| return pht('Email'); | return PhabricatorSettingsEmailPanelGroup::PANELGROUPKEY; | ||||
| } | } | ||||
| public function isEditableByAdministrators() { | public function isEditableByAdministrators() { | ||||
| if ($this->getUser()->getIsMailingList()) { | if ($this->getUser()->getIsMailingList()) { | ||||
| return true; | return true; | ||||
| } | } | ||||
| return false; | return false; | ||||
| ▲ Show 20 Lines • Show All 213 Lines • Show Last 20 Lines | |||||