diff --git a/roles/phabricator/files/PhabricatorProjectProfilePanelEngineCustom.php b/roles/phabricator/files/PhabricatorProjectProfilePanelEngineCustom.php index f648b05..facdc5f 100644 --- a/roles/phabricator/files/PhabricatorProjectProfilePanelEngineCustom.php +++ b/roles/phabricator/files/PhabricatorProjectProfilePanelEngineCustom.php @@ -1,63 +1,62 @@ getProfileObject(); $id = $project->getID(); return "/project/{$id}/panel/{$path}"; } protected function getBuiltinProfilePanels($object) { $panels = array(); $panels[] = $this->newPanel() ->setBuiltinKey(PhabricatorProject::PANEL_PROFILE) ->setPanelKey(PhabricatorProjectDetailsProfilePanel::PANELKEY); $panels[] = $this->newPanel() ->setBuiltinKey(PhabricatorProject::PANEL_POINTS) ->setPanelKey(PhabricatorProjectPointsProfilePanel::PANELKEY); $panels[] = $this->newPanel() ->setBuiltinKey(PhabricatorProject::PANEL_WORKBOARD) ->setPanelKey(PhabricatorProjectWorkboardProfilePanel::PANELKEY) ->setVisibility(PhabricatorProfilePanelConfiguration::VISIBILITY_DISABLED); $panels[] = $this->newPanel() ->setBuiltinKey(PhabricatorProject::PANEL_MEMBERS) ->setPanelKey(PhabricatorProjectMembersProfilePanel::PANELKEY); $panels[] = $this->newPanel() ->setBuiltinKey(PhabricatorProject::PANEL_SUBPROJECTS) ->setPanelKey(PhabricatorProjectSubprojectsProfilePanel::PANELKEY) ->setVisibility(PhabricatorProfilePanelConfiguration::VISIBILITY_DISABLED); $project = $this->getProfileObject(); $panels[] = $this->newPanel() ->setBuiltinKey('project.repo') ->setPanelKey(PhabricatorLinkProfilePanel::PANELKEY) ->setPanelProperty('icon', 'diffusion') ->setPanelProperty('name', pht('Repositories')) ->setPanelProperty('uri', '/diffusion/?status=open&projectPHIDs=' - . $project->getPHID()) - ->setVisibility(PhabricatorProfilePanelConfiguration::VISIBILITY_DISABLED); + . $project->getPHID()); $panels[] = $this->newPanel() ->setBuiltinKey(PhabricatorProjectWikiProfilePanel::PANEL_WIKI) ->setPanelKey(PhabricatorProjectWikiProfilePanel::PANELKEY) ->setVisibility(PhabricatorProfilePanelConfiguration::VISIBILITY_DISABLED); $panels[] = $this->newPanel() ->setBuiltinKey(PhabricatorProject::PANEL_MANAGE) ->setPanelKey(PhabricatorProjectManageProfilePanel::PANELKEY); return $panels; } }