Page MenuHomePhabricator

D9483.diff
No OneTemporary

D9483.diff

diff --git a/src/applications/project/query/PhabricatorProjectSearchEngine.php b/src/applications/project/query/PhabricatorProjectSearchEngine.php
--- a/src/applications/project/query/PhabricatorProjectSearchEngine.php
+++ b/src/applications/project/query/PhabricatorProjectSearchEngine.php
@@ -141,11 +141,28 @@
$list->setUser($viewer);
foreach ($projects as $project) {
$id = $project->getID();
+ $workboards_uri = $this->getApplicationURI("board/{$id}/");
+ $members_uri = $this->getApplicationURI("members/{$id}/");
+ $workboards_url = phutil_tag(
+ 'a',
+ array(
+ 'href' => $workboards_uri
+ ),
+ pht('Workboards'));
+
+ $members_url = phutil_tag(
+ 'a',
+ array(
+ 'href' => $members_uri
+ ),
+ pht('Members'));
$item = id(new PHUIObjectItemView())
->setHeader($project->getName())
->setHref($this->getApplicationURI("view/{$id}/"))
- ->setImageURI($project->getProfileImageURI());
+ ->setImageURI($project->getProfileImageURI())
+ ->addAttribute($workboards_url)
+ ->addAttribute($members_url);
if ($project->getStatus() == PhabricatorProjectStatus::STATUS_ARCHIVED) {
$item->addIcon('delete-grey', pht('Archived'));

File Metadata

Mime Type
text/plain
Expires
Sat, Sep 21, 10:33 AM (21 h, 51 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6625398
Default Alt Text
D9483.diff (1 KB)

Event Timeline