Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/setting/PhabricatorOlderInlinesSetting.php
| <?php | <?php | ||||
| final class PhabricatorOlderInlinesSetting | final class PhabricatorOlderInlinesSetting | ||||
| extends PhabricatorSelectSetting { | extends PhabricatorSelectSetting { | ||||
| const SETTINGKEY = 'diff-ghosts'; | const SETTINGKEY = 'diff-ghosts'; | ||||
| const VALUE_GHOST_INLINES_ENABLED = 'default'; | const VALUE_GHOST_INLINES_ENABLED = 'default'; | ||||
| const VALUE_GHOST_INLINES_DISABLED = 'disabled'; | const VALUE_GHOST_INLINES_DISABLED = 'disabled'; | ||||
| public function getSettingName() { | public function getSettingName() { | ||||
| return pht('Show Older Inlines'); | return pht('Show Older Inlines'); | ||||
| } | } | ||||
| protected function getSettingOrder() { | |||||
| return 200; | |||||
| } | |||||
| public function getSettingPanelKey() { | |||||
| return PhabricatorDiffPreferencesSettingsPanel::PANELKEY; | |||||
| } | |||||
| protected function getControlInstructions() { | protected function getControlInstructions() { | ||||
| return pht( | return pht( | ||||
| 'When a revision is updated, Phabricator attempts to bring inline '. | 'When a revision is updated, Phabricator attempts to bring inline '. | ||||
| 'comments on the older version forward to the new changes. You can '. | 'comments on the older version forward to the new changes. You can '. | ||||
| 'disable this behavior if you prefer comments stay anchored in one '. | 'disable this behavior if you prefer comments stay anchored in one '. | ||||
| 'place.'); | 'place.'); | ||||
| } | } | ||||
| Show All 13 Lines | |||||