From 751162d363e6b2434b4cfb131da3d6a688b0aba4 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Wed, 17 Jun 2015 07:20:34 +1000 Subject: [PATCH] Set icons for Diviner PHID types Summary: Ref T4558. Give `DivinerAtomPHIDType` and `DivinerBookPHIDType` a font icon. Test Plan: Saw icons in global search. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T4558 Differential Revision: https://secure.phabricator.com/D13304 --- src/applications/diviner/phid/DivinerAtomPHIDType.php | 4 ++++ src/applications/diviner/phid/DivinerBookPHIDType.php | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/applications/diviner/phid/DivinerAtomPHIDType.php b/src/applications/diviner/phid/DivinerAtomPHIDType.php index 3ee95c9ea1..7387b0cafe 100644 --- a/src/applications/diviner/phid/DivinerAtomPHIDType.php +++ b/src/applications/diviner/phid/DivinerAtomPHIDType.php @@ -12,6 +12,10 @@ final class DivinerAtomPHIDType extends PhabricatorPHIDType { return new DivinerLiveSymbol(); } + public function getTypeIcon() { + return 'fa-cube'; + } + public function getPHIDTypeApplicationClass() { return 'PhabricatorDivinerApplication'; } diff --git a/src/applications/diviner/phid/DivinerBookPHIDType.php b/src/applications/diviner/phid/DivinerBookPHIDType.php index 39420ec12c..da08ae3e87 100644 --- a/src/applications/diviner/phid/DivinerBookPHIDType.php +++ b/src/applications/diviner/phid/DivinerBookPHIDType.php @@ -12,6 +12,10 @@ final class DivinerBookPHIDType extends PhabricatorPHIDType { return new DivinerLiveBook(); } + public function getTypeIcon() { + return 'fa-book'; + } + public function getPHIDTypeApplicationClass() { return 'PhabricatorDivinerApplication'; }