diff --git a/src/applications/project/controller/PhabricatorProjectProfileController.php b/src/applications/project/controller/PhabricatorProjectProfileController.php --- a/src/applications/project/controller/PhabricatorProjectProfileController.php +++ b/src/applications/project/controller/PhabricatorProjectProfileController.php @@ -25,7 +25,8 @@ ->setViewer($user) ->needMembers(true) ->needWatchers(true) - ->needImages(true); + ->needImages(true) + ->needSlugs(true); if ($this->slug) { $query->withSlugs(array($this->slug)); } else { @@ -280,6 +281,15 @@ ->setObject($project) ->setActionList($actions); + $hashtags = array(); + foreach ($project->getSlugs() as $slug) { + $hashtags[] = id(new PHUITagView()) + ->setType(PHUITagView::TYPE_OBJECT) + ->setName('#'.$slug->getSlug()); + } + + $view->addProperty(pht('Hashtags'), phutil_implode_html(' ', $hashtags)); + $view->addProperty( pht('Members'), $project->getMemberPHIDs()