Page MenuHomePhabricator

D11510.id27674.diff
No OneTemporary

D11510.id27674.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
@@ -219,36 +219,6 @@
foreach ($projects as $key => $project) {
$id = $project->getID();
- $profile_uri = $this->getApplicationURI("profile/{$id}/");
- $workboards_uri = $this->getApplicationURI("board/{$id}/");
- $members_uri = $this->getApplicationURI("members/{$id}/");
- $profile_url = phutil_tag(
- 'a',
- array(
- 'href' => $profile_uri,
- ),
- pht('Profile'));
- $workboards_url = phutil_tag(
- 'a',
- array(
- 'href' => $workboards_uri,
- ),
- pht('Workboard'));
-
- $members_class = null;
- $members_sigil = null;
- if (!isset($can_edit_projects[$key])) {
- $members_class = 'disabled';
- $members_sigil = 'workflow';
- }
- $members_url = javelin_tag(
- 'a',
- array(
- 'href' => $members_uri,
- 'class' => $members_class,
- 'sigil' => $members_sigil,
- ),
- pht('Members'));
$tag_list = id(new PHUIHandleTagListView())
->setSlim(true)
@@ -258,10 +228,7 @@
->setHeader($project->getName())
->setHref($this->getApplicationURI("view/{$id}/"))
->setImageURI($project->getProfileImageURI())
- ->addAttribute($tag_list)
- ->addAttribute($profile_url)
- ->addAttribute($workboards_url)
- ->addAttribute($members_url);
+ ->addAttribute($tag_list);
if ($project->getStatus() == PhabricatorProjectStatus::STATUS_ARCHIVED) {
$item->addIcon('delete-grey', pht('Archived'));

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 2, 12:36 AM (2 d, 22 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7723140
Default Alt Text
D11510.id27674.diff (1 KB)

Event Timeline