Differential D20372 Diff 48638 src/applications/dashboard/paneltype/PhabricatorDashboardTabsPanelType.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/dashboard/paneltype/PhabricatorDashboardTabsPanelType.php
Show All 13 Lines | final class PhabricatorDashboardTabsPanelType | ||||
public function getIcon() { | public function getIcon() { | ||||
return 'fa-columns'; | return 'fa-columns'; | ||||
} | } | ||||
public function getPanelTypeDescription() { | public function getPanelTypeDescription() { | ||||
return pht('Use tabs to switch between several other panels.'); | return pht('Use tabs to switch between several other panels.'); | ||||
} | } | ||||
public function getFieldSpecifications() { | protected function newEditEngineFields(PhabricatorDashboardPanel $panel) { | ||||
return array( | // TODO: Restore this using EditEngine instead of CustomField. | ||||
'config' => array( | return array(); | ||||
'name' => pht('Tabs'), | |||||
'type' => 'dashboard.tabs', | |||||
), | |||||
); | |||||
} | } | ||||
public function shouldRenderAsync() { | public function shouldRenderAsync() { | ||||
// The actual tab panel itself is cheap to render. | // The actual tab panel itself is cheap to render. | ||||
return false; | return false; | ||||
} | } | ||||
public function renderPanelContent( | public function renderPanelContent( | ||||
▲ Show 20 Lines • Show All 95 Lines • Show Last 20 Lines |