Differential D20373 Diff 48598 src/applications/dashboard/editor/PhabricatorDashboardPanelEditEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/dashboard/editor/PhabricatorDashboardPanelEditEngine.php
Show First 20 Lines • Show All 95 Lines • ▼ Show 20 Lines | public function getEffectiveObjectEditDoneURI($object) { | ||||
$dashboard = $this->getDashboard(); | $dashboard = $this->getDashboard(); | ||||
if ($dashboard) { | if ($dashboard) { | ||||
return $dashboard->getURI(); | return $dashboard->getURI(); | ||||
} | } | ||||
return parent::getEffectiveObjectEditDoneURI($object); | return parent::getEffectiveObjectEditDoneURI($object); | ||||
} | } | ||||
protected function getObjectEditCancelURI($object) { | |||||
$dashboard = $this->getDashboard(); | |||||
if ($dashboard) { | |||||
return $dashboard->getURI(); | |||||
} | |||||
return parent::getObjectEditCancelURI($object); | |||||
} | |||||
protected function getObjectEditTitleText($object) { | protected function getObjectEditTitleText($object) { | ||||
return pht('Edit Panel: %s', $object->getName()); | return pht('Edit Panel: %s', $object->getName()); | ||||
} | } | ||||
protected function getObjectEditShortText($object) { | protected function getObjectEditShortText($object) { | ||||
return pht('Edit Panel'); | return pht('Edit Panel'); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |