Page MenuHomePhabricator

D13729.diff
No OneTemporary

D13729.diff

diff --git a/src/view/phui/PHUIBadgeMiniView.php b/src/view/phui/PHUIBadgeMiniView.php
--- a/src/view/phui/PHUIBadgeMiniView.php
+++ b/src/view/phui/PHUIBadgeMiniView.php
@@ -6,6 +6,7 @@
private $icon;
private $quality;
private $header;
+ private $tipDirection;
public function setIcon($icon) {
$this->icon = $icon;
@@ -27,6 +28,11 @@
return $this;
}
+ public function setTipDirection($direction) {
+ $this->tipDirection = $direction;
+ return $this;
+ }
+
protected function getTagName() {
if ($this->href) {
return 'a';
@@ -51,6 +57,8 @@
'href' => $this->href,
'meta' => array(
'tip' => $this->header,
+ 'align' => $this->tipDirection,
+ 'size' => 300,
),
);
}
diff --git a/src/view/phui/PHUITimelineView.php b/src/view/phui/PHUITimelineView.php
--- a/src/view/phui/PHUITimelineView.php
+++ b/src/view/phui/PHUITimelineView.php
@@ -255,6 +255,7 @@
->setIcon($badge->getIcon())
->setQuality($badge->getQuality())
->setHeader($badge->getName())
+ ->setTipDirection('E')
->setHref('/badges/view/'.$badge->getID());
$event->addBadge($badge_view);

File Metadata

Mime Type
text/plain
Expires
Sun, Jun 23, 8:55 AM (6 d, 17 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6294073
Default Alt Text
D13729.diff (1 KB)

Event Timeline