Differential D20331 Diff 48535 src/applications/project/menuitem/PhabricatorProjectWorkboardProfileMenuItem.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/menuitem/PhabricatorProjectWorkboardProfileMenuItem.php
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | public function buildEditEngineFields( | ||||
); | ); | ||||
} | } | ||||
protected function newNavigationMenuItems( | protected function newNavigationMenuItems( | ||||
PhabricatorProfileMenuItemConfiguration $config) { | PhabricatorProfileMenuItemConfiguration $config) { | ||||
$project = $config->getProfileObject(); | $project = $config->getProfileObject(); | ||||
$id = $project->getID(); | $id = $project->getID(); | ||||
$href = "/project/board/{$id}/"; | $href = $project->getWorkboardURI(); | ||||
$name = $this->getDisplayName($config); | $name = $this->getDisplayName($config); | ||||
$item = $this->newItem() | $item = $this->newItem() | ||||
->setHref($href) | ->setHref($href) | ||||
->setName($name) | ->setName($name) | ||||
->setIcon('fa-columns'); | ->setIcon('fa-columns'); | ||||
return array( | return array( | ||||
$item, | $item, | ||||
); | ); | ||||
} | } | ||||
} | } |