@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.

Add aural label for "application" breadcrumb in crumbs

Summary: Ref T4843. This is a purely-visual link; label it with the application name.

Test Plan: {F149583}

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T4843

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

+22 -1
+1
src/applications/base/controller/PhabricatorController.php
··· 393 393 394 394 $crumbs[] = id(new PhabricatorCrumbView()) 395 395 ->setHref($this->getApplicationURI()) 396 + ->setAural($application->getName()) 396 397 ->setIcon($sprite); 397 398 } 398 399
+21 -1
src/view/layout/PhabricatorCrumbView.php
··· 7 7 private $icon; 8 8 private $isLastCrumb; 9 9 private $workflow; 10 + private $aural; 11 + 12 + public function setAural($aural) { 13 + $this->aural = $aural; 14 + return $this; 15 + } 16 + 17 + public function getAural() { 18 + return $this->aural; 19 + } 10 20 11 21 public function setWorkflow($workflow) { 12 22 $this->workflow = $workflow; ··· 46 56 'phabricator-crumb-view', 47 57 ); 48 58 59 + $aural = null; 60 + if ($this->aural !== null) { 61 + $aural = javelin_tag( 62 + 'span', 63 + array( 64 + 'aural' => true, 65 + ), 66 + $this->aural); 67 + } 68 + 49 69 $icon = null; 50 70 if ($this->icon) { 51 71 $classes[] = 'phabricator-crumb-has-icon'; ··· 84 104 'href' => $this->href, 85 105 'class' => implode(' ', $classes), 86 106 ), 87 - array($icon, $name, $divider)); 107 + array($aural, $icon, $name, $divider)); 88 108 } 89 109 }