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

Use Doritos™ Brand® perfect circles to indicate Busy/Away/Disabled

Summary:
Fixes T11829.

- Currently in use: Doritos™ Brand® "Nacho Cheese"® perfect circles: •
- Available alternative: Doritos™ Brand® "Cool Ranch"® perfect circles: ●

Test Plan: {F1913116}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11829

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

+17 -15
+11 -1
src/applications/phid/PhabricatorObjectHandle.php
··· 314 314 $classes[] = 'handle-status-'.$this->status; 315 315 } 316 316 317 + $circle = null; 317 318 if ($this->availability != self::AVAILABILITY_FULL) { 318 319 $classes[] = 'handle-availability-'.$this->availability; 320 + $circle = array( 321 + phutil_tag( 322 + 'span', 323 + array( 324 + 'class' => 'perfect-circle', 325 + ), 326 + "\xE2\x80\xA2"), 327 + ' ', 328 + ); 319 329 } 320 330 321 331 if ($this->getType() == PhabricatorPeopleUserPHIDType::TYPECONST) { ··· 339 349 return javelin_tag( 340 350 $uri ? 'a' : 'span', 341 351 $attributes, 342 - array($icon, $name)); 352 + array($circle, $icon, $name)); 343 353 } 344 354 345 355 public function renderTag() {
+6 -14
webroot/rsrc/css/application/base/standard-page-view.css
··· 76 76 color: #19558D; 77 77 } 78 78 79 - a.handle-availability-disabled, 80 - a.handle-availability-none, 81 - a.handle-availability-partial { 82 - padding-left: 11px; 83 - background-repeat: no-repeat; 84 - background-position: -4px center; 85 - } 86 - 87 - a.handle-availability-none { 88 - background-image: url(/rsrc/image/icon/fatcow/bullet_red.png); 79 + .handle-availability-none .perfect-circle { 80 + color: {$red}; 89 81 } 90 82 91 - a.handle-availability-partial { 92 - background-image: url(/rsrc/image/icon/fatcow/bullet_orange.png); 83 + .handle-availability-partial .perfect-circle { 84 + color: {$orange}; 93 85 } 94 86 95 - a.handle-availability-disabled { 96 - background-image: url(/rsrc/image/icon/fatcow/bullet_black.png); 87 + .handle-availability-disabled .perfect-circle { 88 + color: {$greytext}; 97 89 } 98 90 99 91 .aphront-developer-error-callout {
webroot/rsrc/image/icon/fatcow/bullet_black.png

This is a binary file and will not be displayed.

webroot/rsrc/image/icon/fatcow/bullet_orange.png

This is a binary file and will not be displayed.

webroot/rsrc/image/icon/fatcow/bullet_red.png

This is a binary file and will not be displayed.