Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14035345
D16819.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D16819.diff
View Options
diff --git a/src/applications/calendar/storage/PhabricatorCalendarEventInvitee.php b/src/applications/calendar/storage/PhabricatorCalendarEventInvitee.php
--- a/src/applications/calendar/storage/PhabricatorCalendarEventInvitee.php
+++ b/src/applications/calendar/storage/PhabricatorCalendarEventInvitee.php
@@ -76,7 +76,7 @@
'name' => pht('Available'),
),
self::AVAILABILITY_BUSY => array(
- 'color' => 'yellow',
+ 'color' => 'orange',
'name' => pht('Busy'),
),
self::AVAILABILITY_AWAY => array(
diff --git a/src/applications/people/markup/PhabricatorMentionRemarkupRule.php b/src/applications/people/markup/PhabricatorMentionRemarkupRule.php
--- a/src/applications/people/markup/PhabricatorMentionRemarkupRule.php
+++ b/src/applications/people/markup/PhabricatorMentionRemarkupRule.php
@@ -154,7 +154,12 @@
$tag->setDotColor(PHUITagView::COLOR_GREY);
} else {
if ($user->getAwayUntil()) {
- $tag->setDotColor(PHUITagView::COLOR_RED);
+ $away = PhabricatorCalendarEventInvitee::AVAILABILITY_AWAY;
+ if ($user->getDisplayAvailability() == $away) {
+ $tag->setDotColor(PHUITagView::COLOR_RED);
+ } else {
+ $tag->setDotColor(PHUITagView::COLOR_ORANGE);
+ }
}
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 11, 5:32 AM (1 w, 5 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6715792
Default Alt Text
D16819.diff (1 KB)
Attached To
Mode
D16819: On `@username` mentions in remarkup, show the "busy" dot color
Attached
Detach File
Event Timeline
Log In to Comment