@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove extra links in ProjectListItems

Summary: With the new magic controller switcher, these links are needed.

Test Plan: Look at list of Projects

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11510

+1 -34
+1 -34
src/applications/project/query/PhabricatorProjectSearchEngine.php
··· 219 219 220 220 foreach ($projects as $key => $project) { 221 221 $id = $project->getID(); 222 - $profile_uri = $this->getApplicationURI("profile/{$id}/"); 223 - $workboards_uri = $this->getApplicationURI("board/{$id}/"); 224 - $members_uri = $this->getApplicationURI("members/{$id}/"); 225 - $profile_url = phutil_tag( 226 - 'a', 227 - array( 228 - 'href' => $profile_uri, 229 - ), 230 - pht('Profile')); 231 - $workboards_url = phutil_tag( 232 - 'a', 233 - array( 234 - 'href' => $workboards_uri, 235 - ), 236 - pht('Workboard')); 237 - 238 - $members_class = null; 239 - $members_sigil = null; 240 - if (!isset($can_edit_projects[$key])) { 241 - $members_class = 'disabled'; 242 - $members_sigil = 'workflow'; 243 - } 244 - $members_url = javelin_tag( 245 - 'a', 246 - array( 247 - 'href' => $members_uri, 248 - 'class' => $members_class, 249 - 'sigil' => $members_sigil, 250 - ), 251 - pht('Members')); 252 222 253 223 $tag_list = id(new PHUIHandleTagListView()) 254 224 ->setSlim(true) ··· 258 228 ->setHeader($project->getName()) 259 229 ->setHref($this->getApplicationURI("view/{$id}/")) 260 230 ->setImageURI($project->getProfileImageURI()) 261 - ->addAttribute($tag_list) 262 - ->addAttribute($profile_url) 263 - ->addAttribute($workboards_url) 264 - ->addAttribute($members_url); 231 + ->addAttribute($tag_list); 265 232 266 233 if ($project->getStatus() == PhabricatorProjectStatus::STATUS_ARCHIVED) { 267 234 $item->addIcon('delete-grey', pht('Archived'));