Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14018215
D9830.id23590.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D9830.id23590.diff
View Options
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()
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 6, 6:21 AM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6724511
Default Alt Text
D9830.id23590.diff (1 KB)
Attached To
Mode
D9830: Show project hashtags prominently on project pages
Attached
Detach File
Event Timeline
Log In to Comment