Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/setting/PhabricatorUnifiedDiffsSetting.php
Show All 16 Lines | final class PhabricatorUnifiedDiffsSetting | ||||
} | } | ||||
public function getSettingPanelKey() { | public function getSettingPanelKey() { | ||||
return PhabricatorDiffPreferencesSettingsPanel::PANELKEY; | return PhabricatorDiffPreferencesSettingsPanel::PANELKEY; | ||||
} | } | ||||
protected function getControlInstructions() { | protected function getControlInstructions() { | ||||
return pht( | return pht( | ||||
'Phabricator normally shows diffs in a side-by-side layout on large '. | 'Diffs are normally shown in a side-by-side layout on large '. | ||||
'screens and automatically switches to a unified view on small '. | 'screens and automatically switched to a unified view on small '. | ||||
'screens (like mobile phones). If you prefer unified diffs even on '. | 'screens (like mobile phones). If you prefer unified diffs even on '. | ||||
'large screens, you can select them for use on all displays.'); | 'large screens, you can select them for use on all displays.'); | ||||
} | } | ||||
public function getSettingDefaultValue() { | public function getSettingDefaultValue() { | ||||
return self::VALUE_ON_SMALL_SCREENS; | return self::VALUE_ON_SMALL_SCREENS; | ||||
} | } | ||||
Show All 9 Lines |