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

Move FontIcon calls to Icon

Summary: Normalizes all `setFontIcon` calls to `setIcon`.

Test Plan: UIExamples, Almanac, Apps list, etc.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin, hach-que, yelirekim

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

+158 -158
+1 -1
src/applications/almanac/application/PhabricatorAlmanacApplication.php
··· 14 14 return pht('Service Directory'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-server'; 19 19 } 20 20
+3 -3
src/applications/almanac/controller/AlmanacConsoleController.php
··· 16 16 id(new PHUIObjectItemView()) 17 17 ->setHeader(pht('Services')) 18 18 ->setHref($this->getApplicationURI('service/')) 19 - ->setFontIcon('fa-plug') 19 + ->setIcon('fa-plug') 20 20 ->addAttribute(pht('Manage Almanac services.'))); 21 21 22 22 $menu->addItem( 23 23 id(new PHUIObjectItemView()) 24 24 ->setHeader(pht('Devices')) 25 25 ->setHref($this->getApplicationURI('device/')) 26 - ->setFontIcon('fa-server') 26 + ->setIcon('fa-server') 27 27 ->addAttribute(pht('Manage Almanac devices.'))); 28 28 29 29 $menu->addItem( 30 30 id(new PHUIObjectItemView()) 31 31 ->setHeader(pht('Networks')) 32 32 ->setHref($this->getApplicationURI('network/')) 33 - ->setFontIcon('fa-globe') 33 + ->setIcon('fa-globe') 34 34 ->addAttribute(pht('Manage Almanac networks.'))); 35 35 36 36 $crumbs = $this->buildApplicationCrumbs();
+1 -1
src/applications/audit/application/PhabricatorAuditApplication.php
··· 6 6 return '/audit/'; 7 7 } 8 8 9 - public function getFontIcon() { 9 + public function getIcon() { 10 10 return 'fa-check-circle-o'; 11 11 } 12 12
+1 -1
src/applications/auth/application/PhabricatorAuthApplication.php
··· 10 10 return '/auth/'; 11 11 } 12 12 13 - public function getFontIcon() { 13 + public function getIcon() { 14 14 return 'fa-key'; 15 15 } 16 16
+1 -1
src/applications/badges/application/PhabricatorBadgesApplication.php
··· 14 14 return pht('Achievements and Notority'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-trophy'; 19 19 } 20 20
+1 -1
src/applications/badges/query/PhabricatorBadgesSearchEngine.php
··· 147 147 ->setHref('/badges/create/') 148 148 ->setColor(PHUIButtonView::GREEN); 149 149 150 - $icon = $this->getApplication()->getFontIcon(); 150 + $icon = $this->getApplication()->getIcon(); 151 151 $app_name = $this->getApplication()->getName(); 152 152 $view = id(new PHUIBigInfoView()) 153 153 ->setIcon($icon)
+1 -1
src/applications/base/PhabricatorApplication.php
··· 155 155 return null; 156 156 } 157 157 158 - public function getFontIcon() { 158 + public function getIcon() { 159 159 return 'fa-puzzle-piece'; 160 160 } 161 161
+1 -1
src/applications/base/controller/PhabricatorController.php
··· 352 352 353 353 $application = $this->getCurrentApplication(); 354 354 if ($application) { 355 - $icon = $application->getFontIcon(); 355 + $icon = $application->getIcon(); 356 356 if (!$icon) { 357 357 $icon = 'fa-puzzle'; 358 358 }
+1 -1
src/applications/calendar/application/PhabricatorCalendarApplication.php
··· 18 18 return '/calendar/'; 19 19 } 20 20 21 - public function getFontIcon() { 21 + public function getIcon() { 22 22 return 'fa-calendar'; 23 23 } 24 24
+1 -1
src/applications/chatlog/application/PhabricatorChatLogApplication.php
··· 14 14 return pht('(Deprecated)'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-coffee'; 19 19 } 20 20
+1 -1
src/applications/conduit/application/PhabricatorConduitApplication.php
··· 6 6 return '/conduit/'; 7 7 } 8 8 9 - public function getFontIcon() { 9 + public function getIcon() { 10 10 return 'fa-tty'; 11 11 } 12 12
+1 -1
src/applications/config/application/PhabricatorConfigApplication.php
··· 6 6 return '/config/'; 7 7 } 8 8 9 - public function getFontIcon() { 9 + public function getIcon() { 10 10 return 'fa-sliders'; 11 11 } 12 12
+1 -1
src/applications/config/controller/PhabricatorConfigListController.php
··· 53 53 ->setHeader($group->getName()) 54 54 ->setHref('/config/group/'.$group->getKey().'/') 55 55 ->addAttribute($group->getDescription()) 56 - ->setFontIcon($group->getFontIcon()); 56 + ->setIcon($group->getIcon()); 57 57 $list->addItem($item); 58 58 } 59 59 }
+1 -1
src/applications/config/module/PhabricatorConfigPHIDModule.php
··· 23 23 $app = PhabricatorApplication::getByClass($class_name); 24 24 $app_name = $app->getName(); 25 25 26 - $icon = $app->getFontIcon(); 26 + $icon = $app->getIcon(); 27 27 if ($icon) { 28 28 $app_icon = id(new PHUIIconView())->setIcon($icon); 29 29 } else {
+1 -1
src/applications/config/option/PhabricatorAWSConfigOptions.php
··· 11 11 return pht('Configure integration with AWS (EC2, SES, S3, etc).'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-server'; 16 16 } 17 17
+1 -1
src/applications/config/option/PhabricatorAccessLogConfigOptions.php
··· 11 11 return pht('Configure the access logs, which log HTTP/SSH requests.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-list'; 16 16 } 17 17
+1 -1
src/applications/config/option/PhabricatorApplicationConfigOptions.php
··· 7 7 abstract public function getGroup(); 8 8 abstract public function getOptions(); 9 9 10 - public function getFontIcon() { 10 + public function getIcon() { 11 11 return 'fa-sliders'; 12 12 } 13 13
+1 -1
src/applications/config/option/PhabricatorAuthenticationConfigOptions.php
··· 11 11 return pht('Options relating to authentication.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-key'; 16 16 } 17 17
+1 -1
src/applications/config/option/PhabricatorClusterConfigOptions.php
··· 11 11 return pht('Configure Phabricator to run on a cluster of hosts.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-sitemap'; 16 16 } 17 17
+1 -1
src/applications/config/option/PhabricatorCoreConfigOptions.php
··· 11 11 return pht('Configure core options, including URIs.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-bullseye'; 16 16 } 17 17
+1 -1
src/applications/config/option/PhabricatorDeveloperConfigOptions.php
··· 11 11 return pht('Options for Phabricator developers, including debugging.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-bug'; 16 16 } 17 17
+1 -1
src/applications/config/option/PhabricatorExtendingPhabricatorConfigOptions.php
··· 11 11 return pht('Make Phabricator even cooler!'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-rocket'; 16 16 } 17 17
+1 -1
src/applications/config/option/PhabricatorMailgunConfigOptions.php
··· 11 11 return pht('Configure Mailgun integration.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-send-o'; 16 16 } 17 17
+1 -1
src/applications/config/option/PhabricatorMetaMTAConfigOptions.php
··· 11 11 return pht('Configure Mail.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-send'; 16 16 } 17 17
+1 -1
src/applications/config/option/PhabricatorMySQLConfigOptions.php
··· 11 11 return pht('Database configuration.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-database'; 16 16 } 17 17
+1 -1
src/applications/config/option/PhabricatorNotificationConfigOptions.php
··· 11 11 return pht('Configure real-time notifications.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-bell'; 16 16 } 17 17
+1 -1
src/applications/config/option/PhabricatorPHDConfigOptions.php
··· 11 11 return pht('Options relating to PHD (daemons).'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-pied-piper-alt'; 16 16 } 17 17
+1 -1
src/applications/config/option/PhabricatorPHPMailerConfigOptions.php
··· 11 11 return pht('Configure PHPMailer.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-send-o'; 16 16 } 17 17
+1 -1
src/applications/config/option/PhabricatorPhurlConfigOptions.php
··· 11 11 return pht('Options for Phurl.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-link'; 16 16 } 17 17
+1 -1
src/applications/config/option/PhabricatorRecaptchaConfigOptions.php
··· 11 11 return pht('Configure Recaptcha captchas.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-recycle'; 16 16 } 17 17
+1 -1
src/applications/config/option/PhabricatorSMSConfigOptions.php
··· 11 11 return pht('Configure SMS.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-mobile'; 16 16 } 17 17
+1 -1
src/applications/config/option/PhabricatorSecurityConfigOptions.php
··· 11 11 return pht('Security options.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-lock'; 16 16 } 17 17
+1 -1
src/applications/config/option/PhabricatorSendGridConfigOptions.php
··· 11 11 return pht('Configure SendGrid integration.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-send-o'; 16 16 } 17 17
+1 -1
src/applications/config/option/PhabricatorSyntaxHighlightingConfigOptions.php
··· 11 11 return pht('Options relating to syntax highlighting source code.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-code'; 16 16 } 17 17
+1 -1
src/applications/config/option/PhabricatorTranslationsConfigOptions.php
··· 11 11 return pht('Options relating to translations.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-globe'; 16 16 } 17 17
+1 -1
src/applications/config/option/PhabricatorUIConfigOptions.php
··· 11 11 return pht('Configure the Phabricator UI, including colors.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-magnet'; 16 16 } 17 17
+1 -1
src/applications/conpherence/application/PhabricatorConpherenceApplication.php
··· 14 14 return pht('Chat with Others'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-comments'; 19 19 } 20 20
+1 -1
src/applications/conpherence/config/ConpherenceConfigOptions.php
··· 11 11 return pht('Configure Conpherence messaging.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-comments'; 16 16 } 17 17
+1 -1
src/applications/countdown/application/PhabricatorCountdownApplication.php
··· 6 6 return '/countdown/'; 7 7 } 8 8 9 - public function getFontIcon() { 9 + public function getIcon() { 10 10 return 'fa-rocket'; 11 11 } 12 12
+1 -1
src/applications/countdown/query/PhabricatorCountdownSearchEngine.php
··· 152 152 ->setHref('/countdown/create/') 153 153 ->setColor(PHUIButtonView::GREEN); 154 154 155 - $icon = $this->getApplication()->getFontIcon(); 155 + $icon = $this->getApplication()->getIcon(); 156 156 $app_name = $this->getApplication()->getName(); 157 157 $view = id(new PHUIBigInfoView()) 158 158 ->setIcon($icon)
+1 -1
src/applications/daemon/application/PhabricatorDaemonsApplication.php
··· 18 18 return "\xE2\x98\xAF"; 19 19 } 20 20 21 - public function getFontIcon() { 21 + public function getIcon() { 22 22 return 'fa-pied-piper-alt'; 23 23 } 24 24
+1 -1
src/applications/dashboard/application/PhabricatorDashboardApplication.php
··· 14 14 return pht('Create Custom Pages'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-dashboard'; 19 19 } 20 20
+1 -1
src/applications/dashboard/controller/PhabricatorDashboardPanelListController.php
··· 55 55 ->setHref('/dashboard/panel/create/') 56 56 ->setColor(PHUIButtonView::GREEN); 57 57 58 - $icon = $this->getApplication()->getFontIcon(); 58 + $icon = $this->getApplication()->getIcon(); 59 59 $app_name = $this->getApplication()->getName(); 60 60 $view = id(new PHUIBigInfoView()) 61 61 ->setIcon($icon)
+1 -1
src/applications/dashboard/query/PhabricatorDashboardSearchEngine.php
··· 181 181 ->setHref('/dashboard/create/') 182 182 ->setColor(PHUIButtonView::GREEN); 183 183 184 - $icon = $this->getApplication()->getFontIcon(); 184 + $icon = $this->getApplication()->getIcon(); 185 185 $app_name = $this->getApplication()->getName(); 186 186 $view = id(new PHUIBigInfoView()) 187 187 ->setIcon($icon)
+1 -1
src/applications/differential/application/PhabricatorDifferentialApplication.php
··· 14 14 return pht('Review Code'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-cog'; 19 19 } 20 20
+1 -1
src/applications/differential/config/PhabricatorDifferentialConfigOptions.php
··· 11 11 return pht('Configure Differential code review.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-cog'; 16 16 } 17 17
+1 -1
src/applications/differential/query/DifferentialRevisionSearchEngine.php
··· 348 348 ->setHref('/differential/diff/create/') 349 349 ->setColor(PHUIButtonView::GREEN); 350 350 351 - $icon = $this->getApplication()->getFontIcon(); 351 + $icon = $this->getApplication()->getIcon(); 352 352 $app_name = $this->getApplication()->getName(); 353 353 $view = id(new PHUIBigInfoView()) 354 354 ->setIcon($icon)
+1 -1
src/applications/diffusion/application/PhabricatorDiffusionApplication.php
··· 14 14 return '/diffusion/'; 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-code'; 19 19 } 20 20
+1 -1
src/applications/diffusion/config/PhabricatorDiffusionConfigOptions.php
··· 11 11 return pht('Configure Diffusion repository browsing.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-code'; 16 16 } 17 17
+1 -1
src/applications/diviner/application/PhabricatorDivinerApplication.php
··· 6 6 return '/diviner/'; 7 7 } 8 8 9 - public function getFontIcon() { 9 + public function getIcon() { 10 10 return 'fa-sun-o'; 11 11 } 12 12
+1 -1
src/applications/doorkeeper/application/PhabricatorDoorkeeperApplication.php
··· 14 14 return pht('Doorkeeper'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-recycle'; 19 19 } 20 20
+1 -1
src/applications/doorkeeper/option/PhabricatorAsanaConfigOptions.php
··· 11 11 return pht('Asana integration options.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-exchange'; 16 16 } 17 17
+1 -1
src/applications/drydock/application/PhabricatorDrydockApplication.php
··· 14 14 return pht('Allocate Software Resources'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-truck'; 19 19 } 20 20
+4 -4
src/applications/drydock/controller/DrydockConsoleController.php
··· 31 31 $menu->addItem( 32 32 id(new PHUIObjectItemView()) 33 33 ->setHeader(pht('Blueprints')) 34 - ->setFontIcon('fa-map-o') 34 + ->setIcon('fa-map-o') 35 35 ->setHref($this->getApplicationURI('blueprint/')) 36 36 ->addAttribute( 37 37 pht( ··· 41 41 $menu->addItem( 42 42 id(new PHUIObjectItemView()) 43 43 ->setHeader(pht('Resources')) 44 - ->setFontIcon('fa-map') 44 + ->setIcon('fa-map') 45 45 ->setHref($this->getApplicationURI('resource/')) 46 46 ->addAttribute( 47 47 pht('View and manage resources Drydock has built, like hosts.'))); ··· 49 49 $menu->addItem( 50 50 id(new PHUIObjectItemView()) 51 51 ->setHeader(pht('Leases')) 52 - ->setFontIcon('fa-link') 52 + ->setIcon('fa-link') 53 53 ->setHref($this->getApplicationURI('lease/')) 54 54 ->addAttribute(pht('Manage leases on resources.'))); 55 55 56 56 $menu->addItem( 57 57 id(new PHUIObjectItemView()) 58 58 ->setHeader(pht('Repository Operations')) 59 - ->setFontIcon('fa-fighter-jet') 59 + ->setIcon('fa-fighter-jet') 60 60 ->setHref($this->getApplicationURI('operation/')) 61 61 ->addAttribute(pht('Review the repository operation queue.'))); 62 62
+1 -1
src/applications/fact/application/PhabricatorFactApplication.php
··· 14 14 return '/fact/'; 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-line-chart'; 19 19 } 20 20
+1 -1
src/applications/feed/application/PhabricatorFeedApplication.php
··· 14 14 return pht('Review Recent Activity'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-newspaper-o'; 19 19 } 20 20
+1 -1
src/applications/feed/config/PhabricatorFeedConfigOptions.php
··· 11 11 return pht('Feed options.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-newspaper-o'; 16 16 } 17 17
+1 -1
src/applications/files/application/PhabricatorFilesApplication.php
··· 14 14 return pht('Store and Share Files'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-file'; 19 19 } 20 20
+1 -1
src/applications/files/config/PhabricatorFilesConfigOptions.php
··· 11 11 return pht('Configure files and file storage.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-file'; 16 16 } 17 17
+1 -1
src/applications/files/query/PhabricatorFileSearchEngine.php
··· 185 185 ->setHref('/file/upload/') 186 186 ->setColor(PHUIButtonView::GREEN); 187 187 188 - $icon = $this->getApplication()->getFontIcon(); 188 + $icon = $this->getApplication()->getIcon(); 189 189 $app_name = $this->getApplication()->getName(); 190 190 $view = id(new PHUIBigInfoView()) 191 191 ->setIcon($icon)
+1 -1
src/applications/flag/application/PhabricatorFlagsApplication.php
··· 14 14 return '/flag/'; 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-flag'; 19 19 } 20 20
+1 -1
src/applications/fund/application/PhabricatorFundApplication.php
··· 14 14 return pht('Donate'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-heart'; 19 19 } 20 20
+1 -1
src/applications/harbormaster/application/PhabricatorHarbormasterApplication.php
··· 14 14 return pht('Build/CI'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-ship'; 19 19 } 20 20
+1 -1
src/applications/harbormaster/config/PhabricatorHarbormasterConfigOptions.php
··· 11 11 return pht('Configure Harbormaster build engine.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-ship'; 16 16 } 17 17
+1 -1
src/applications/herald/application/PhabricatorHeraldApplication.php
··· 6 6 return '/herald/'; 7 7 } 8 8 9 - public function getFontIcon() { 9 + public function getIcon() { 10 10 return 'fa-bullhorn'; 11 11 } 12 12
+1 -1
src/applications/herald/query/HeraldRuleSearchEngine.php
··· 218 218 ->setHref('/herald/create/') 219 219 ->setColor(PHUIButtonView::GREEN); 220 220 221 - $icon = $this->getApplication()->getFontIcon(); 221 + $icon = $this->getApplication()->getIcon(); 222 222 $app_name = $this->getApplication()->getName(); 223 223 $view = id(new PHUIBigInfoView()) 224 224 ->setIcon($icon)
+1 -1
src/applications/home/application/PhabricatorHomeApplication.php
··· 16 16 return pht('Command Center'); 17 17 } 18 18 19 - public function getFontIcon() { 19 + public function getIcon() { 20 20 return 'fa-home'; 21 21 } 22 22
+1 -1
src/applications/legalpad/application/PhabricatorLegalpadApplication.php
··· 14 14 return pht('Agreements and Signatures'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-gavel'; 19 19 } 20 20
+1 -1
src/applications/legalpad/config/PhabricatorLegalpadConfigOptions.php
··· 11 11 return pht('Configure Legalpad.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-gavel'; 16 16 } 17 17
+1 -1
src/applications/legalpad/query/LegalpadDocumentSearchEngine.php
··· 223 223 ->setHref('/legalpad/create/') 224 224 ->setColor(PHUIButtonView::GREEN); 225 225 226 - $icon = $this->getApplication()->getFontIcon(); 226 + $icon = $this->getApplication()->getIcon(); 227 227 $app_name = $this->getApplication()->getName(); 228 228 $view = id(new PHUIBigInfoView()) 229 229 ->setIcon($icon)
+1 -1
src/applications/macro/application/PhabricatorMacroApplication.php
··· 14 14 return pht('Image Macros and Memes'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-file-image-o'; 19 19 } 20 20
+1 -1
src/applications/macro/config/PhabricatorMacroConfigOptions.php
··· 11 11 return pht('Configure Macro.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-file-image-o'; 16 16 } 17 17
+2 -2
src/applications/macro/markup/PhabricatorIconRemarkupRule.php
··· 54 54 55 55 static $icon_names; 56 56 if (!$icon_names) { 57 - $icon_names = array_fuse(PHUIIconView::getFontIcons()); 57 + $icon_names = array_fuse(PHUIIconView::getIcons()); 58 58 } 59 59 60 60 static $color_names; 61 61 if (!$color_names) { 62 - $color_names = array_fuse(PHUIIconView::getFontIconColors()); 62 + $color_names = array_fuse(PHUIIconView::getIconColors()); 63 63 } 64 64 65 65 if (empty($icon_names['fa-'.$icon])) {
+1 -1
src/applications/macro/query/PhabricatorMacroSearchEngine.php
··· 196 196 ->setHref('/macro/create/') 197 197 ->setColor(PHUIButtonView::GREEN); 198 198 199 - $icon = $this->getApplication()->getFontIcon(); 199 + $icon = $this->getApplication()->getIcon(); 200 200 $app_name = $this->getApplication()->getName(); 201 201 $view = id(new PHUIBigInfoView()) 202 202 ->setIcon($icon)
+1 -1
src/applications/maniphest/application/PhabricatorManiphestApplication.php
··· 14 14 return '/maniphest/'; 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-anchor'; 19 19 } 20 20
+1 -1
src/applications/maniphest/config/PhabricatorManiphestConfigOptions.php
··· 11 11 return pht('Configure Maniphest.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-anchor'; 16 16 } 17 17
+1 -1
src/applications/maniphest/query/ManiphestTaskSearchEngine.php
··· 392 392 ->setHref('/maniphest/task/edit/') 393 393 ->setColor(PHUIButtonView::GREEN); 394 394 395 - $icon = $this->getApplication()->getFontIcon(); 395 + $icon = $this->getApplication()->getIcon(); 396 396 $app_name = $this->getApplication()->getName(); 397 397 $view = id(new PHUIBigInfoView()) 398 398 ->setIcon($icon)
+1 -1
src/applications/meta/application/PhabricatorApplicationsApplication.php
··· 24 24 return pht('Explore More Applications'); 25 25 } 26 26 27 - public function getFontIcon() { 27 + public function getIcon() { 28 28 return 'fa-globe'; 29 29 } 30 30
+1 -1
src/applications/meta/query/PhabricatorAppSearchEngine.php
··· 209 209 $list = new PHUIObjectItemListView(); 210 210 211 211 foreach ($applications as $application) { 212 - $icon = $application->getFontIcon(); 212 + $icon = $application->getIcon(); 213 213 if (!$icon) { 214 214 $icon = 'application'; 215 215 }
+1 -1
src/applications/meta/typeahead/PhabricatorApplicationDatasource.php
··· 28 28 continue; 29 29 } 30 30 $name = $application->getName().' '.$application->getShortDescription(); 31 - $img = 'phui-font-fa phui-icon-view '.$application->getFontIcon(); 31 + $img = 'phui-font-fa phui-icon-view '.$application->getIcon(); 32 32 $results[] = id(new PhabricatorTypeaheadResult()) 33 33 ->setName($name) 34 34 ->setURI($uri)
+1 -1
src/applications/meta/view/PhabricatorApplicationLaunchView.php
··· 113 113 if ($application->getIconURI()) { 114 114 $styles[] = 'background-image: url('.$application->getIconURI().')'; 115 115 } else { 116 - $classes[] = $application->getFontIcon(); 116 + $classes[] = $application->getIcon(); 117 117 $classes[] = 'phui-icon-view'; 118 118 $classes[] = 'phui-font-fa'; 119 119 }
+1 -1
src/applications/metamta/application/PhabricatorMetaMTAApplication.php
··· 10 10 return '/mail/'; 11 11 } 12 12 13 - public function getFontIcon() { 13 + public function getIcon() { 14 14 return 'fa-send'; 15 15 } 16 16
+1 -1
src/applications/multimeter/application/PhabricatorMultimeterApplication.php
··· 11 11 return '/multimeter/'; 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-motorcycle'; 16 16 } 17 17
+1 -1
src/applications/notification/application/PhabricatorNotificationsApplication.php
··· 14 14 return pht('Real-Time Updates and Alerts'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-bell'; 19 19 } 20 20
+1 -1
src/applications/nuance/application/PhabricatorNuanceApplication.php
··· 6 6 return pht('Nuance'); 7 7 } 8 8 9 - public function getFontIcon() { 9 + public function getIcon() { 10 10 return 'fa-fax'; 11 11 } 12 12
+2 -2
src/applications/nuance/controller/NuanceConsoleController.php
··· 16 16 id(new PHUIObjectItemView()) 17 17 ->setHeader(pht('Queues')) 18 18 ->setHref($this->getApplicationURI('queue/')) 19 - ->setFontIcon('fa-align-left') 19 + ->setIcon('fa-align-left') 20 20 ->addAttribute(pht('Manage Nuance queues.'))); 21 21 22 22 $menu->addItem( 23 23 id(new PHUIObjectItemView()) 24 24 ->setHeader(pht('Sources')) 25 25 ->setHref($this->getApplicationURI('source/')) 26 - ->setFontIcon('fa-filter') 26 + ->setIcon('fa-filter') 27 27 ->addAttribute(pht('Manage Nuance sources.'))); 28 28 29 29 $crumbs = $this->buildApplicationCrumbs();
+1 -1
src/applications/oauthserver/application/PhabricatorOAuthServerApplication.php
··· 14 14 return pht('OAuth Login Provider'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-hotel'; 19 19 } 20 20
+1 -1
src/applications/owners/application/PhabricatorOwnersApplication.php
··· 10 10 return '/owners/'; 11 11 } 12 12 13 - public function getFontIcon() { 13 + public function getIcon() { 14 14 return 'fa-gift'; 15 15 } 16 16
+1 -1
src/applications/owners/config/PhabricatorOwnersConfigOptions.php
··· 11 11 return pht('Configure Owners.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-gift'; 16 16 } 17 17
+1 -1
src/applications/owners/query/PhabricatorOwnersPackageSearchEngine.php
··· 162 162 ->setHref('/owners/edit/') 163 163 ->setColor(PHUIButtonView::GREEN); 164 164 165 - $icon = $this->getApplication()->getFontIcon(); 165 + $icon = $this->getApplication()->getIcon(); 166 166 $app_name = $this->getApplication()->getName(); 167 167 $view = id(new PHUIBigInfoView()) 168 168 ->setIcon($icon)
+1 -1
src/applications/passphrase/application/PhabricatorPassphraseApplication.php
··· 14 14 return pht('Credential Store'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-user-secret'; 19 19 } 20 20
+1 -1
src/applications/passphrase/query/PassphraseCredentialSearchEngine.php
··· 118 118 ->setHref('/passphrase/create/') 119 119 ->setColor(PHUIButtonView::GREEN); 120 120 121 - $icon = $this->getApplication()->getFontIcon(); 121 + $icon = $this->getApplication()->getIcon(); 122 122 $app_name = $this->getApplication()->getName(); 123 123 $view = id(new PHUIBigInfoView()) 124 124 ->setIcon($icon)
+1 -1
src/applications/paste/application/PhabricatorPasteApplication.php
··· 10 10 return '/paste/'; 11 11 } 12 12 13 - public function getFontIcon() { 13 + public function getIcon() { 14 14 return 'fa-paste'; 15 15 } 16 16
+1 -1
src/applications/paste/config/PhabricatorPasteConfigOptions.php
··· 11 11 return pht('Configure Paste.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-paste'; 16 16 } 17 17
+1 -1
src/applications/paste/query/PhabricatorPasteSearchEngine.php
··· 210 210 ->setHref('/paste/create/') 211 211 ->setColor(PHUIButtonView::GREEN); 212 212 213 - $icon = $this->getApplication()->getFontIcon(); 213 + $icon = $this->getApplication()->getIcon(); 214 214 $app_name = $this->getApplication()->getName(); 215 215 $view = id(new PHUIBigInfoView()) 216 216 ->setIcon($icon)
+1 -1
src/applications/people/application/PhabricatorPeopleApplication.php
··· 18 18 return "\xE2\x99\x9F"; 19 19 } 20 20 21 - public function getFontIcon() { 21 + public function getIcon() { 22 22 return 'fa-users'; 23 23 } 24 24
+1 -1
src/applications/people/config/PhabricatorUserConfigOptions.php
··· 11 11 return pht('User profiles configuration.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-users'; 16 16 } 17 17
+1 -1
src/applications/phame/application/PhabricatorPhameApplication.php
··· 10 10 return '/phame/'; 11 11 } 12 12 13 - public function getFontIcon() { 13 + public function getIcon() { 14 14 return 'fa-star'; 15 15 } 16 16
+1 -1
src/applications/phid/type/PhabricatorPHIDType.php
··· 25 25 $application_class = $this->getPHIDTypeApplicationClass(); 26 26 if ($application_class) { 27 27 $application = newv($application_class, array()); 28 - return $application->getFontIcon(); 28 + return $application->getIcon(); 29 29 } 30 30 31 31 return null;
+1 -1
src/applications/phlux/application/PhabricatorPhluxApplication.php
··· 14 14 return pht('Key/Value Configuration Store'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-copy'; 19 19 } 20 20
+1 -1
src/applications/pholio/application/PhabricatorPholioApplication.php
··· 14 14 return pht('Review Mocks and Design'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-camera-retro'; 19 19 } 20 20
+1 -1
src/applications/pholio/config/PhabricatorPholioConfigOptions.php
··· 11 11 return pht('Configure Pholio.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-camera-retro'; 16 16 } 17 17
+1 -1
src/applications/pholio/query/PholioMockSearchEngine.php
··· 137 137 ->setHref('/pholio/create/') 138 138 ->setColor(PHUIButtonView::GREEN); 139 139 140 - $icon = $this->getApplication()->getFontIcon(); 140 + $icon = $this->getApplication()->getIcon(); 141 141 $app_name = $this->getApplication()->getName(); 142 142 $view = id(new PHUIBigInfoView()) 143 143 ->setIcon($icon)
+1 -1
src/applications/phortune/application/PhabricatorPhortuneApplication.php
··· 14 14 return pht('Accounts and Billing'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-diamond'; 19 19 } 20 20
+1 -1
src/applications/phpast/application/PhabricatorPHPASTApplication.php
··· 10 10 return '/xhpast/'; 11 11 } 12 12 13 - public function getFontIcon() { 13 + public function getIcon() { 14 14 return 'fa-ambulance'; 15 15 } 16 16
+1 -1
src/applications/phragment/application/PhabricatorPhragmentApplication.php
··· 14 14 return pht('Versioned Artifact Storage'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-floppy-o'; 19 19 } 20 20
+1 -1
src/applications/phrequent/application/PhabricatorPhrequentApplication.php
··· 18 18 return true; 19 19 } 20 20 21 - public function getFontIcon() { 21 + public function getIcon() { 22 22 return 'fa-clock-o'; 23 23 } 24 24
+1 -1
src/applications/phrequent/config/PhabricatorPhrequentConfigOptions.php
··· 11 11 return pht('Configure Phrequent.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-clock-o'; 16 16 } 17 17
+1 -1
src/applications/phriction/application/PhabricatorPhrictionApplication.php
··· 14 14 return '/w/'; 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-book'; 19 19 } 20 20
+1 -1
src/applications/phriction/config/PhabricatorPhrictionConfigOptions.php
··· 11 11 return pht('Options related to Phriction (wiki).'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-book'; 16 16 } 17 17
+1 -1
src/applications/phurl/application/PhabricatorPhurlApplication.php
··· 18 18 return '/phurl/'; 19 19 } 20 20 21 - public function getFontIcon() { 21 + public function getIcon() { 22 22 return 'fa-compress'; 23 23 } 24 24
+1 -1
src/applications/phurl/query/PhabricatorPhurlURLSearchEngine.php
··· 99 99 ->setHref('/phurl/url/create/') 100 100 ->setColor(PHUIButtonView::GREEN); 101 101 102 - $icon = $this->getApplication()->getFontIcon(); 102 + $icon = $this->getApplication()->getIcon(); 103 103 $app_name = $this->getApplication()->getName(); 104 104 $view = id(new PHUIBigInfoView()) 105 105 ->setIcon($icon)
+1 -1
src/applications/policy/config/PhabricatorPolicyConfigOptions.php
··· 11 11 return pht('Options relating to object visibility.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-lock'; 16 16 } 17 17
+1 -1
src/applications/ponder/application/PhabricatorPonderApplication.php
··· 14 14 return pht('Questions and Answers'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-university'; 19 19 } 20 20
+1 -1
src/applications/ponder/query/PonderQuestionSearchEngine.php
··· 187 187 ->setHref('/ponder/question/create/') 188 188 ->setColor(PHUIButtonView::GREEN); 189 189 190 - $icon = $this->getApplication()->getFontIcon(); 190 + $icon = $this->getApplication()->getIcon(); 191 191 $app_name = $this->getApplication()->getName(); 192 192 $view = id(new PHUIBigInfoView()) 193 193 ->setIcon($icon)
+1 -1
src/applications/project/application/PhabricatorProjectApplication.php
··· 18 18 return '/project/'; 19 19 } 20 20 21 - public function getFontIcon() { 21 + public function getIcon() { 22 22 return 'fa-briefcase'; 23 23 } 24 24
+1 -1
src/applications/project/config/PhabricatorProjectConfigOptions.php
··· 11 11 return pht('Configure Projects.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-briefcase'; 16 16 } 17 17
+1 -1
src/applications/project/query/PhabricatorProjectSearchEngine.php
··· 185 185 ->setHref('/project/edit/') 186 186 ->setColor(PHUIButtonView::GREEN); 187 187 188 - $icon = $this->getApplication()->getFontIcon(); 188 + $icon = $this->getApplication()->getIcon(); 189 189 $app_name = $this->getApplication()->getName(); 190 190 $view = id(new PHUIBigInfoView()) 191 191 ->setIcon($icon)
+1 -1
src/applications/releeph/application/PhabricatorReleephApplication.php
··· 14 14 return '/releeph/'; 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-flag-checkered'; 19 19 } 20 20
+1 -1
src/applications/releeph/config/PhabricatorReleephApplicationConfigOptions.php
··· 11 11 return pht('Options for configuring Releeph, the release branch tool.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-flag-checkered'; 16 16 } 17 17
+1 -1
src/applications/repository/config/PhabricatorRepositoryConfigOptions.php
··· 11 11 return pht('Configure repositories.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-hdd-o'; 16 16 } 17 17
+1 -1
src/applications/repository/query/PhabricatorRepositorySearchEngine.php
··· 254 254 ->setHref('/diffusion/create/') 255 255 ->setColor(PHUIButtonView::GREEN); 256 256 257 - $icon = $this->getApplication()->getFontIcon(); 257 + $icon = $this->getApplication()->getIcon(); 258 258 $app_name = $this->getApplication()->getName(); 259 259 $view = id(new PHUIBigInfoView()) 260 260 ->setIcon($icon)
+1 -1
src/applications/search/application/PhabricatorSearchApplication.php
··· 18 18 return pht('Find stuff in big piles.'); 19 19 } 20 20 21 - public function getFontIcon() { 21 + public function getIcon() { 22 22 return 'fa-search'; 23 23 } 24 24
+1 -1
src/applications/search/config/PhabricatorSearchConfigOptions.php
··· 11 11 return pht('Options relating to Search.'); 12 12 } 13 13 14 - public function getFontIcon() { 14 + public function getIcon() { 15 15 return 'fa-search'; 16 16 } 17 17
+1 -1
src/applications/settings/application/PhabricatorSettingsApplication.php
··· 14 14 return pht('User Preferences'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-wrench'; 19 19 } 20 20
+1 -1
src/applications/settings/panel/PhabricatorHomePreferencesSettingsPanel.php
··· 140 140 continue; 141 141 } 142 142 143 - $icon = $application->getFontIcon(); 143 + $icon = $application->getIcon(); 144 144 if (!$icon) { 145 145 $icon = 'application'; 146 146 }
+1 -1
src/applications/slowvote/application/PhabricatorSlowvoteApplication.php
··· 6 6 return '/vote/'; 7 7 } 8 8 9 - public function getFontIcon() { 9 + public function getIcon() { 10 10 return 'fa-bar-chart'; 11 11 } 12 12
+1 -1
src/applications/slowvote/query/PhabricatorSlowvoteSearchEngine.php
··· 170 170 ->setHref('/vote/create/') 171 171 ->setColor(PHUIButtonView::GREEN); 172 172 173 - $icon = $this->getApplication()->getFontIcon(); 173 + $icon = $this->getApplication()->getIcon(); 174 174 $app_name = $this->getApplication()->getName(); 175 175 $view = id(new PHUIBigInfoView()) 176 176 ->setIcon($icon)
+1 -1
src/applications/spaces/application/PhabricatorSpacesApplication.php
··· 14 14 return pht('Policy Namespaces'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-th-large'; 19 19 } 20 20
+1 -1
src/applications/spaces/query/PhabricatorSpacesNamespaceSearchEngine.php
··· 105 105 ->setHref('/spaces/create/') 106 106 ->setColor(PHUIButtonView::GREEN); 107 107 108 - $icon = $this->getApplication()->getFontIcon(); 108 + $icon = $this->getApplication()->getIcon(); 109 109 $app_name = $this->getApplication()->getName(); 110 110 $view = id(new PHUIBigInfoView()) 111 111 ->setIcon($icon)
+1 -1
src/applications/tokens/application/PhabricatorTokensApplication.php
··· 10 10 return '/token/'; 11 11 } 12 12 13 - public function getFontIcon() { 13 + public function getIcon() { 14 14 return 'fa-thumbs-up'; 15 15 } 16 16
+1 -1
src/applications/transactions/editengine/PhabricatorEditEngine.php
··· 1773 1773 1774 1774 public function getIcon() { 1775 1775 $application = $this->getApplication(); 1776 - return $application->getFontIcon(); 1776 + return $application->getIcon(); 1777 1777 } 1778 1778 1779 1779 public function loadQuickCreateItems() {
+1 -1
src/applications/transactions/feed/PhabricatorApplicationTransactionFeedStory.php
··· 77 77 $class = $phid_type->getPHIDTypeApplicationClass(); 78 78 if ($class) { 79 79 $application = PhabricatorApplication::getByClass($class); 80 - $icon = $application->getFontIcon(); 80 + $icon = $application->getIcon(); 81 81 } 82 82 } 83 83
+1 -1
src/applications/transactions/query/PhabricatorEditEngineSearchEngine.php
··· 70 70 $query_uri = "/transactions/editengine/{$engine_key}/"; 71 71 72 72 $application = $engine->getApplication(); 73 - $app_icon = $application->getFontIcon(); 73 + $app_icon = $application->getIcon(); 74 74 75 75 $item = id(new PHUIObjectItemView()) 76 76 ->setHeader($engine->getSummaryHeader())
+1 -1
src/applications/uiexample/application/PhabricatorUIExamplesApplication.php
··· 14 14 return pht('UIExamples'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-magnet'; 19 19 } 20 20
+5 -5
src/applications/uiexample/examples/PHUIActionPanelExample.php
··· 17 17 18 18 /* Action Panels */ 19 19 $panel1 = id(new PHUIActionPanelView()) 20 - ->setFontIcon('fa-book') 20 + ->setIcon('fa-book') 21 21 ->setHeader(pht('Read Documentation')) 22 22 ->setHref('#') 23 23 ->setSubHeader(pht('Reading is a common way to learn about things.')) ··· 25 25 $view->addColumn($panel1); 26 26 27 27 $panel2 = id(new PHUIActionPanelView()) 28 - ->setFontIcon('fa-server') 28 + ->setIcon('fa-server') 29 29 ->setHeader(pht('Launch Instance')) 30 30 ->setHref('#') 31 31 ->setSubHeader(pht("Maybe this is what you're likely here for.")) ··· 33 33 $view->addColumn($panel2); 34 34 35 35 $panel3 = id(new PHUIActionPanelView()) 36 - ->setFontIcon('fa-group') 36 + ->setIcon('fa-group') 37 37 ->setHeader(pht('Code with Friends')) 38 38 ->setHref('#') 39 39 ->setSubHeader(pht('Writing code is much more fun with friends!')) ··· 41 41 $view->addColumn($panel3); 42 42 43 43 $panel4 = id(new PHUIActionPanelView()) 44 - ->setFontIcon('fa-cloud-download') 44 + ->setIcon('fa-cloud-download') 45 45 ->setHeader(pht('Download Data')) 46 46 ->setHref('#') 47 47 ->setSubHeader(pht('Need a backup of all your kitten memes?')) ··· 53 53 54 54 /* Action Panels */ 55 55 $panel1 = id(new PHUIActionPanelView()) 56 - ->setFontIcon('fa-credit-card') 56 + ->setIcon('fa-credit-card') 57 57 ->setHeader(pht('Account Balance')) 58 58 ->setHref('#') 59 59 ->setSubHeader(pht('You were last billed $2,245.12 on Dec 12, 2014.'))
+2 -2
src/applications/uiexample/examples/PHUIIconExample.php
··· 23 23 24 24 public function renderExample() { 25 25 26 - $colors = PHUIIconView::getFontIconColors(); 26 + $colors = PHUIIconView::getIconColors(); 27 27 $colors = array_merge(array(null), $colors); 28 - $fas = PHUIIconView::getFontIcons(); 28 + $fas = PHUIIconView::getIcons(); 29 29 30 30 $trans = $this->listTransforms(); 31 31
+1 -1
src/applications/xhprof/application/PhabricatorXHProfApplication.php
··· 14 14 return pht('PHP Profiling Tool'); 15 15 } 16 16 17 - public function getFontIcon() { 17 + public function getIcon() { 18 18 return 'fa-stethoscope'; 19 19 } 20 20
+1 -1
src/infrastructure/markup/rule/PhabricatorNavigationRemarkupRule.php
··· 46 46 47 47 static $icon_names; 48 48 if (!$icon_names) { 49 - $icon_names = array_fuse(PHUIIconView::getFontIcons()); 49 + $icon_names = array_fuse(PHUIIconView::getIcons()); 50 50 } 51 51 52 52 $out = array();
+1 -1
src/view/page/PhabricatorStandardPageView.php
··· 747 747 if ($application) { 748 748 $application_class = get_class($application); 749 749 if ($application->getApplicationSearchDocumentTypes()) { 750 - $application_search_icon = $application->getFontIcon(); 750 + $application_search_icon = $application->getIcon(); 751 751 } 752 752 } 753 753 }
+1 -1
src/view/page/menu/PhabricatorMainMenuSearchView.php
··· 128 128 if ($application) { 129 129 $application_value = get_class($application); 130 130 if ($application->getApplicationSearchDocumentTypes()) { 131 - $application_icon = $application->getFontIcon(); 131 + $application_icon = $application->getIcon(); 132 132 } 133 133 } 134 134
+1 -1
src/view/phui/PHUIActionPanelView.php
··· 24 24 return $this; 25 25 } 26 26 27 - public function setFontIcon($image) { 27 + public function setIcon($image) { 28 28 $this->fontIcon = $image; 29 29 return $this; 30 30 }
+2 -2
src/view/phui/PHUIIconView.php
··· 105 105 return idx(phutil_json_decode($data), 'sprites'); 106 106 } 107 107 108 - public static function getFontIcons() { 108 + public static function getIcons() { 109 109 return array( 110 110 'fa-glass', 111 111 'fa-music', ··· 747 747 ); 748 748 } 749 749 750 - public static function getFontIconColors() { 750 + public static function getIconColors() { 751 751 return array( 752 752 'bluegrey', 753 753 'white',
+2 -2
src/view/phui/PHUIObjectItemView.php
··· 169 169 $fi = 'fa-refresh ph-spin sky'; 170 170 break; 171 171 } 172 - $this->setFontIcon($fi); 172 + $this->setIcon($fi); 173 173 return $this; 174 174 } 175 175 176 - public function setFontIcon($icon) { 176 + public function setIcon($icon) { 177 177 $this->fontIcon = id(new PHUIIconView()) 178 178 ->setIcon($icon); 179 179 return $this;