Page MenuHomePhabricator

D16834.id40542.diff
No OneTemporary

D16834.id40542.diff

diff --git a/src/applications/phid/PhabricatorObjectHandle.php b/src/applications/phid/PhabricatorObjectHandle.php
--- a/src/applications/phid/PhabricatorObjectHandle.php
+++ b/src/applications/phid/PhabricatorObjectHandle.php
@@ -314,8 +314,18 @@
$classes[] = 'handle-status-'.$this->status;
}
+ $circle = null;
if ($this->availability != self::AVAILABILITY_FULL) {
$classes[] = 'handle-availability-'.$this->availability;
+ $circle = array(
+ phutil_tag(
+ 'span',
+ array(
+ 'class' => 'perfect-circle',
+ ),
+ "\xE2\x80\xA2"),
+ ' ',
+ );
}
if ($this->getType() == PhabricatorPeopleUserPHIDType::TYPECONST) {
@@ -339,7 +349,7 @@
return javelin_tag(
$uri ? 'a' : 'span',
$attributes,
- array($icon, $name));
+ array($circle, $icon, $name));
}
public function renderTag() {
diff --git a/webroot/rsrc/css/application/base/standard-page-view.css b/webroot/rsrc/css/application/base/standard-page-view.css
--- a/webroot/rsrc/css/application/base/standard-page-view.css
+++ b/webroot/rsrc/css/application/base/standard-page-view.css
@@ -76,24 +76,16 @@
color: #19558D;
}
-a.handle-availability-disabled,
-a.handle-availability-none,
-a.handle-availability-partial {
- padding-left: 11px;
- background-repeat: no-repeat;
- background-position: -4px center;
+.handle-availability-none .perfect-circle {
+ color: {$red};
}
-a.handle-availability-none {
- background-image: url(/rsrc/image/icon/fatcow/bullet_red.png);
+.handle-availability-partial .perfect-circle {
+ color: {$orange};
}
-a.handle-availability-partial {
- background-image: url(/rsrc/image/icon/fatcow/bullet_orange.png);
-}
-
-a.handle-availability-disabled {
- background-image: url(/rsrc/image/icon/fatcow/bullet_black.png);
+.handle-availability-disabled .perfect-circle {
+ color: {$greytext};
}
.aphront-developer-error-callout {
diff --git a/webroot/rsrc/image/icon/fatcow/bullet_black.png b/webroot/rsrc/image/icon/fatcow/bullet_black.png
deleted file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/webroot/rsrc/image/icon/fatcow/bullet_orange.png b/webroot/rsrc/image/icon/fatcow/bullet_orange.png
deleted file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/webroot/rsrc/image/icon/fatcow/bullet_red.png b/webroot/rsrc/image/icon/fatcow/bullet_red.png
deleted file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001

File Metadata

Mime Type
text/plain
Expires
Fri, Mar 7, 4:06 PM (1 d, 11 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7332665
Default Alt Text
D16834.id40542.diff (2 KB)

Event Timeline