Page MenuHomePhabricator

D9483.id22775.diff
No OneTemporary

D9483.id22775.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
Sun, Oct 20, 1:01 PM (3 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6736498
Default Alt Text
D9483.id22775.diff (1 KB)

Event Timeline