mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 21:02:41 +01:00
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
This commit is contained in:
parent
30473549ac
commit
fe5cd4ca2c
144 changed files with 158 additions and 158 deletions
|
@ -14,7 +14,7 @@ final class PhabricatorAlmanacApplication extends PhabricatorApplication {
|
||||||
return pht('Service Directory');
|
return pht('Service Directory');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-server';
|
return 'fa-server';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,21 +16,21 @@ final class AlmanacConsoleController extends AlmanacController {
|
||||||
id(new PHUIObjectItemView())
|
id(new PHUIObjectItemView())
|
||||||
->setHeader(pht('Services'))
|
->setHeader(pht('Services'))
|
||||||
->setHref($this->getApplicationURI('service/'))
|
->setHref($this->getApplicationURI('service/'))
|
||||||
->setFontIcon('fa-plug')
|
->setIcon('fa-plug')
|
||||||
->addAttribute(pht('Manage Almanac services.')));
|
->addAttribute(pht('Manage Almanac services.')));
|
||||||
|
|
||||||
$menu->addItem(
|
$menu->addItem(
|
||||||
id(new PHUIObjectItemView())
|
id(new PHUIObjectItemView())
|
||||||
->setHeader(pht('Devices'))
|
->setHeader(pht('Devices'))
|
||||||
->setHref($this->getApplicationURI('device/'))
|
->setHref($this->getApplicationURI('device/'))
|
||||||
->setFontIcon('fa-server')
|
->setIcon('fa-server')
|
||||||
->addAttribute(pht('Manage Almanac devices.')));
|
->addAttribute(pht('Manage Almanac devices.')));
|
||||||
|
|
||||||
$menu->addItem(
|
$menu->addItem(
|
||||||
id(new PHUIObjectItemView())
|
id(new PHUIObjectItemView())
|
||||||
->setHeader(pht('Networks'))
|
->setHeader(pht('Networks'))
|
||||||
->setHref($this->getApplicationURI('network/'))
|
->setHref($this->getApplicationURI('network/'))
|
||||||
->setFontIcon('fa-globe')
|
->setIcon('fa-globe')
|
||||||
->addAttribute(pht('Manage Almanac networks.')));
|
->addAttribute(pht('Manage Almanac networks.')));
|
||||||
|
|
||||||
$crumbs = $this->buildApplicationCrumbs();
|
$crumbs = $this->buildApplicationCrumbs();
|
||||||
|
|
|
@ -6,7 +6,7 @@ final class PhabricatorAuditApplication extends PhabricatorApplication {
|
||||||
return '/audit/';
|
return '/audit/';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-check-circle-o';
|
return 'fa-check-circle-o';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ final class PhabricatorAuthApplication extends PhabricatorApplication {
|
||||||
return '/auth/';
|
return '/auth/';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-key';
|
return 'fa-key';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorBadgesApplication extends PhabricatorApplication {
|
||||||
return pht('Achievements and Notority');
|
return pht('Achievements and Notority');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-trophy';
|
return 'fa-trophy';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -147,7 +147,7 @@ final class PhabricatorBadgesSearchEngine
|
||||||
->setHref('/badges/create/')
|
->setHref('/badges/create/')
|
||||||
->setColor(PHUIButtonView::GREEN);
|
->setColor(PHUIButtonView::GREEN);
|
||||||
|
|
||||||
$icon = $this->getApplication()->getFontIcon();
|
$icon = $this->getApplication()->getIcon();
|
||||||
$app_name = $this->getApplication()->getName();
|
$app_name = $this->getApplication()->getName();
|
||||||
$view = id(new PHUIBigInfoView())
|
$view = id(new PHUIBigInfoView())
|
||||||
->setIcon($icon)
|
->setIcon($icon)
|
||||||
|
|
|
@ -155,7 +155,7 @@ abstract class PhabricatorApplication
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-puzzle-piece';
|
return 'fa-puzzle-piece';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -352,7 +352,7 @@ abstract class PhabricatorController extends AphrontController {
|
||||||
|
|
||||||
$application = $this->getCurrentApplication();
|
$application = $this->getCurrentApplication();
|
||||||
if ($application) {
|
if ($application) {
|
||||||
$icon = $application->getFontIcon();
|
$icon = $application->getIcon();
|
||||||
if (!$icon) {
|
if (!$icon) {
|
||||||
$icon = 'fa-puzzle';
|
$icon = 'fa-puzzle';
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@ final class PhabricatorCalendarApplication extends PhabricatorApplication {
|
||||||
return '/calendar/';
|
return '/calendar/';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-calendar';
|
return 'fa-calendar';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorChatLogApplication extends PhabricatorApplication {
|
||||||
return pht('(Deprecated)');
|
return pht('(Deprecated)');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-coffee';
|
return 'fa-coffee';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ final class PhabricatorConduitApplication extends PhabricatorApplication {
|
||||||
return '/conduit/';
|
return '/conduit/';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-tty';
|
return 'fa-tty';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ final class PhabricatorConfigApplication extends PhabricatorApplication {
|
||||||
return '/config/';
|
return '/config/';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-sliders';
|
return 'fa-sliders';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ final class PhabricatorConfigListController
|
||||||
->setHeader($group->getName())
|
->setHeader($group->getName())
|
||||||
->setHref('/config/group/'.$group->getKey().'/')
|
->setHref('/config/group/'.$group->getKey().'/')
|
||||||
->addAttribute($group->getDescription())
|
->addAttribute($group->getDescription())
|
||||||
->setFontIcon($group->getFontIcon());
|
->setIcon($group->getIcon());
|
||||||
$list->addItem($item);
|
$list->addItem($item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ final class PhabricatorConfigPHIDModule extends PhabricatorConfigModule {
|
||||||
$app = PhabricatorApplication::getByClass($class_name);
|
$app = PhabricatorApplication::getByClass($class_name);
|
||||||
$app_name = $app->getName();
|
$app_name = $app->getName();
|
||||||
|
|
||||||
$icon = $app->getFontIcon();
|
$icon = $app->getIcon();
|
||||||
if ($icon) {
|
if ($icon) {
|
||||||
$app_icon = id(new PHUIIconView())->setIcon($icon);
|
$app_icon = id(new PHUIIconView())->setIcon($icon);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorAWSConfigOptions
|
||||||
return pht('Configure integration with AWS (EC2, SES, S3, etc).');
|
return pht('Configure integration with AWS (EC2, SES, S3, etc).');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-server';
|
return 'fa-server';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorAccessLogConfigOptions
|
||||||
return pht('Configure the access logs, which log HTTP/SSH requests.');
|
return pht('Configure the access logs, which log HTTP/SSH requests.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-list';
|
return 'fa-list';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ abstract class PhabricatorApplicationConfigOptions extends Phobject {
|
||||||
abstract public function getGroup();
|
abstract public function getGroup();
|
||||||
abstract public function getOptions();
|
abstract public function getOptions();
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-sliders';
|
return 'fa-sliders';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorAuthenticationConfigOptions
|
||||||
return pht('Options relating to authentication.');
|
return pht('Options relating to authentication.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-key';
|
return 'fa-key';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorClusterConfigOptions
|
||||||
return pht('Configure Phabricator to run on a cluster of hosts.');
|
return pht('Configure Phabricator to run on a cluster of hosts.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-sitemap';
|
return 'fa-sitemap';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorCoreConfigOptions
|
||||||
return pht('Configure core options, including URIs.');
|
return pht('Configure core options, including URIs.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-bullseye';
|
return 'fa-bullseye';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorDeveloperConfigOptions
|
||||||
return pht('Options for Phabricator developers, including debugging.');
|
return pht('Options for Phabricator developers, including debugging.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-bug';
|
return 'fa-bug';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorExtendingPhabricatorConfigOptions
|
||||||
return pht('Make Phabricator even cooler!');
|
return pht('Make Phabricator even cooler!');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-rocket';
|
return 'fa-rocket';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorMailgunConfigOptions
|
||||||
return pht('Configure Mailgun integration.');
|
return pht('Configure Mailgun integration.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-send-o';
|
return 'fa-send-o';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorMetaMTAConfigOptions
|
||||||
return pht('Configure Mail.');
|
return pht('Configure Mail.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-send';
|
return 'fa-send';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorMySQLConfigOptions
|
||||||
return pht('Database configuration.');
|
return pht('Database configuration.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-database';
|
return 'fa-database';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorNotificationConfigOptions
|
||||||
return pht('Configure real-time notifications.');
|
return pht('Configure real-time notifications.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-bell';
|
return 'fa-bell';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorPHDConfigOptions
|
||||||
return pht('Options relating to PHD (daemons).');
|
return pht('Options relating to PHD (daemons).');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-pied-piper-alt';
|
return 'fa-pied-piper-alt';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorPHPMailerConfigOptions
|
||||||
return pht('Configure PHPMailer.');
|
return pht('Configure PHPMailer.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-send-o';
|
return 'fa-send-o';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorPhurlConfigOptions
|
||||||
return pht('Options for Phurl.');
|
return pht('Options for Phurl.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-link';
|
return 'fa-link';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorRecaptchaConfigOptions
|
||||||
return pht('Configure Recaptcha captchas.');
|
return pht('Configure Recaptcha captchas.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-recycle';
|
return 'fa-recycle';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorSMSConfigOptions
|
||||||
return pht('Configure SMS.');
|
return pht('Configure SMS.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-mobile';
|
return 'fa-mobile';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorSecurityConfigOptions
|
||||||
return pht('Security options.');
|
return pht('Security options.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-lock';
|
return 'fa-lock';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorSendGridConfigOptions
|
||||||
return pht('Configure SendGrid integration.');
|
return pht('Configure SendGrid integration.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-send-o';
|
return 'fa-send-o';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorSyntaxHighlightingConfigOptions
|
||||||
return pht('Options relating to syntax highlighting source code.');
|
return pht('Options relating to syntax highlighting source code.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-code';
|
return 'fa-code';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorTranslationsConfigOptions
|
||||||
return pht('Options relating to translations.');
|
return pht('Options relating to translations.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-globe';
|
return 'fa-globe';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorUIConfigOptions
|
||||||
return pht('Configure the Phabricator UI, including colors.');
|
return pht('Configure the Phabricator UI, including colors.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-magnet';
|
return 'fa-magnet';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorConpherenceApplication extends PhabricatorApplication {
|
||||||
return pht('Chat with Others');
|
return pht('Chat with Others');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-comments';
|
return 'fa-comments';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class ConpherenceConfigOptions
|
||||||
return pht('Configure Conpherence messaging.');
|
return pht('Configure Conpherence messaging.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-comments';
|
return 'fa-comments';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ final class PhabricatorCountdownApplication extends PhabricatorApplication {
|
||||||
return '/countdown/';
|
return '/countdown/';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-rocket';
|
return 'fa-rocket';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -152,7 +152,7 @@ final class PhabricatorCountdownSearchEngine
|
||||||
->setHref('/countdown/create/')
|
->setHref('/countdown/create/')
|
||||||
->setColor(PHUIButtonView::GREEN);
|
->setColor(PHUIButtonView::GREEN);
|
||||||
|
|
||||||
$icon = $this->getApplication()->getFontIcon();
|
$icon = $this->getApplication()->getIcon();
|
||||||
$app_name = $this->getApplication()->getName();
|
$app_name = $this->getApplication()->getName();
|
||||||
$view = id(new PHUIBigInfoView())
|
$view = id(new PHUIBigInfoView())
|
||||||
->setIcon($icon)
|
->setIcon($icon)
|
||||||
|
|
|
@ -18,7 +18,7 @@ final class PhabricatorDaemonsApplication extends PhabricatorApplication {
|
||||||
return "\xE2\x98\xAF";
|
return "\xE2\x98\xAF";
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-pied-piper-alt';
|
return 'fa-pied-piper-alt';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorDashboardApplication extends PhabricatorApplication {
|
||||||
return pht('Create Custom Pages');
|
return pht('Create Custom Pages');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-dashboard';
|
return 'fa-dashboard';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ final class PhabricatorDashboardPanelListController
|
||||||
->setHref('/dashboard/panel/create/')
|
->setHref('/dashboard/panel/create/')
|
||||||
->setColor(PHUIButtonView::GREEN);
|
->setColor(PHUIButtonView::GREEN);
|
||||||
|
|
||||||
$icon = $this->getApplication()->getFontIcon();
|
$icon = $this->getApplication()->getIcon();
|
||||||
$app_name = $this->getApplication()->getName();
|
$app_name = $this->getApplication()->getName();
|
||||||
$view = id(new PHUIBigInfoView())
|
$view = id(new PHUIBigInfoView())
|
||||||
->setIcon($icon)
|
->setIcon($icon)
|
||||||
|
|
|
@ -181,7 +181,7 @@ final class PhabricatorDashboardSearchEngine
|
||||||
->setHref('/dashboard/create/')
|
->setHref('/dashboard/create/')
|
||||||
->setColor(PHUIButtonView::GREEN);
|
->setColor(PHUIButtonView::GREEN);
|
||||||
|
|
||||||
$icon = $this->getApplication()->getFontIcon();
|
$icon = $this->getApplication()->getIcon();
|
||||||
$app_name = $this->getApplication()->getName();
|
$app_name = $this->getApplication()->getName();
|
||||||
$view = id(new PHUIBigInfoView())
|
$view = id(new PHUIBigInfoView())
|
||||||
->setIcon($icon)
|
->setIcon($icon)
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorDifferentialApplication extends PhabricatorApplication {
|
||||||
return pht('Review Code');
|
return pht('Review Code');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-cog';
|
return 'fa-cog';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorDifferentialConfigOptions
|
||||||
return pht('Configure Differential code review.');
|
return pht('Configure Differential code review.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-cog';
|
return 'fa-cog';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -348,7 +348,7 @@ final class DifferentialRevisionSearchEngine
|
||||||
->setHref('/differential/diff/create/')
|
->setHref('/differential/diff/create/')
|
||||||
->setColor(PHUIButtonView::GREEN);
|
->setColor(PHUIButtonView::GREEN);
|
||||||
|
|
||||||
$icon = $this->getApplication()->getFontIcon();
|
$icon = $this->getApplication()->getIcon();
|
||||||
$app_name = $this->getApplication()->getName();
|
$app_name = $this->getApplication()->getName();
|
||||||
$view = id(new PHUIBigInfoView())
|
$view = id(new PHUIBigInfoView())
|
||||||
->setIcon($icon)
|
->setIcon($icon)
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorDiffusionApplication extends PhabricatorApplication {
|
||||||
return '/diffusion/';
|
return '/diffusion/';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-code';
|
return 'fa-code';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorDiffusionConfigOptions
|
||||||
return pht('Configure Diffusion repository browsing.');
|
return pht('Configure Diffusion repository browsing.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-code';
|
return 'fa-code';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ final class PhabricatorDivinerApplication extends PhabricatorApplication {
|
||||||
return '/diviner/';
|
return '/diviner/';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-sun-o';
|
return 'fa-sun-o';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorDoorkeeperApplication extends PhabricatorApplication {
|
||||||
return pht('Doorkeeper');
|
return pht('Doorkeeper');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-recycle';
|
return 'fa-recycle';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorAsanaConfigOptions
|
||||||
return pht('Asana integration options.');
|
return pht('Asana integration options.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-exchange';
|
return 'fa-exchange';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorDrydockApplication extends PhabricatorApplication {
|
||||||
return pht('Allocate Software Resources');
|
return pht('Allocate Software Resources');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-truck';
|
return 'fa-truck';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ final class DrydockConsoleController extends DrydockController {
|
||||||
$menu->addItem(
|
$menu->addItem(
|
||||||
id(new PHUIObjectItemView())
|
id(new PHUIObjectItemView())
|
||||||
->setHeader(pht('Blueprints'))
|
->setHeader(pht('Blueprints'))
|
||||||
->setFontIcon('fa-map-o')
|
->setIcon('fa-map-o')
|
||||||
->setHref($this->getApplicationURI('blueprint/'))
|
->setHref($this->getApplicationURI('blueprint/'))
|
||||||
->addAttribute(
|
->addAttribute(
|
||||||
pht(
|
pht(
|
||||||
|
@ -41,7 +41,7 @@ final class DrydockConsoleController extends DrydockController {
|
||||||
$menu->addItem(
|
$menu->addItem(
|
||||||
id(new PHUIObjectItemView())
|
id(new PHUIObjectItemView())
|
||||||
->setHeader(pht('Resources'))
|
->setHeader(pht('Resources'))
|
||||||
->setFontIcon('fa-map')
|
->setIcon('fa-map')
|
||||||
->setHref($this->getApplicationURI('resource/'))
|
->setHref($this->getApplicationURI('resource/'))
|
||||||
->addAttribute(
|
->addAttribute(
|
||||||
pht('View and manage resources Drydock has built, like hosts.')));
|
pht('View and manage resources Drydock has built, like hosts.')));
|
||||||
|
@ -49,14 +49,14 @@ final class DrydockConsoleController extends DrydockController {
|
||||||
$menu->addItem(
|
$menu->addItem(
|
||||||
id(new PHUIObjectItemView())
|
id(new PHUIObjectItemView())
|
||||||
->setHeader(pht('Leases'))
|
->setHeader(pht('Leases'))
|
||||||
->setFontIcon('fa-link')
|
->setIcon('fa-link')
|
||||||
->setHref($this->getApplicationURI('lease/'))
|
->setHref($this->getApplicationURI('lease/'))
|
||||||
->addAttribute(pht('Manage leases on resources.')));
|
->addAttribute(pht('Manage leases on resources.')));
|
||||||
|
|
||||||
$menu->addItem(
|
$menu->addItem(
|
||||||
id(new PHUIObjectItemView())
|
id(new PHUIObjectItemView())
|
||||||
->setHeader(pht('Repository Operations'))
|
->setHeader(pht('Repository Operations'))
|
||||||
->setFontIcon('fa-fighter-jet')
|
->setIcon('fa-fighter-jet')
|
||||||
->setHref($this->getApplicationURI('operation/'))
|
->setHref($this->getApplicationURI('operation/'))
|
||||||
->addAttribute(pht('Review the repository operation queue.')));
|
->addAttribute(pht('Review the repository operation queue.')));
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorFactApplication extends PhabricatorApplication {
|
||||||
return '/fact/';
|
return '/fact/';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-line-chart';
|
return 'fa-line-chart';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorFeedApplication extends PhabricatorApplication {
|
||||||
return pht('Review Recent Activity');
|
return pht('Review Recent Activity');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-newspaper-o';
|
return 'fa-newspaper-o';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorFeedConfigOptions
|
||||||
return pht('Feed options.');
|
return pht('Feed options.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-newspaper-o';
|
return 'fa-newspaper-o';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorFilesApplication extends PhabricatorApplication {
|
||||||
return pht('Store and Share Files');
|
return pht('Store and Share Files');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-file';
|
return 'fa-file';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorFilesConfigOptions
|
||||||
return pht('Configure files and file storage.');
|
return pht('Configure files and file storage.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-file';
|
return 'fa-file';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -185,7 +185,7 @@ final class PhabricatorFileSearchEngine
|
||||||
->setHref('/file/upload/')
|
->setHref('/file/upload/')
|
||||||
->setColor(PHUIButtonView::GREEN);
|
->setColor(PHUIButtonView::GREEN);
|
||||||
|
|
||||||
$icon = $this->getApplication()->getFontIcon();
|
$icon = $this->getApplication()->getIcon();
|
||||||
$app_name = $this->getApplication()->getName();
|
$app_name = $this->getApplication()->getName();
|
||||||
$view = id(new PHUIBigInfoView())
|
$view = id(new PHUIBigInfoView())
|
||||||
->setIcon($icon)
|
->setIcon($icon)
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorFlagsApplication extends PhabricatorApplication {
|
||||||
return '/flag/';
|
return '/flag/';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-flag';
|
return 'fa-flag';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorFundApplication extends PhabricatorApplication {
|
||||||
return pht('Donate');
|
return pht('Donate');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-heart';
|
return 'fa-heart';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorHarbormasterApplication extends PhabricatorApplication {
|
||||||
return pht('Build/CI');
|
return pht('Build/CI');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-ship';
|
return 'fa-ship';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorHarbormasterConfigOptions
|
||||||
return pht('Configure Harbormaster build engine.');
|
return pht('Configure Harbormaster build engine.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-ship';
|
return 'fa-ship';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ final class PhabricatorHeraldApplication extends PhabricatorApplication {
|
||||||
return '/herald/';
|
return '/herald/';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-bullhorn';
|
return 'fa-bullhorn';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -218,7 +218,7 @@ final class HeraldRuleSearchEngine extends PhabricatorApplicationSearchEngine {
|
||||||
->setHref('/herald/create/')
|
->setHref('/herald/create/')
|
||||||
->setColor(PHUIButtonView::GREEN);
|
->setColor(PHUIButtonView::GREEN);
|
||||||
|
|
||||||
$icon = $this->getApplication()->getFontIcon();
|
$icon = $this->getApplication()->getIcon();
|
||||||
$app_name = $this->getApplication()->getName();
|
$app_name = $this->getApplication()->getName();
|
||||||
$view = id(new PHUIBigInfoView())
|
$view = id(new PHUIBigInfoView())
|
||||||
->setIcon($icon)
|
->setIcon($icon)
|
||||||
|
|
|
@ -16,7 +16,7 @@ final class PhabricatorHomeApplication extends PhabricatorApplication {
|
||||||
return pht('Command Center');
|
return pht('Command Center');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-home';
|
return 'fa-home';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorLegalpadApplication extends PhabricatorApplication {
|
||||||
return pht('Agreements and Signatures');
|
return pht('Agreements and Signatures');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-gavel';
|
return 'fa-gavel';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorLegalpadConfigOptions
|
||||||
return pht('Configure Legalpad.');
|
return pht('Configure Legalpad.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-gavel';
|
return 'fa-gavel';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -223,7 +223,7 @@ final class LegalpadDocumentSearchEngine
|
||||||
->setHref('/legalpad/create/')
|
->setHref('/legalpad/create/')
|
||||||
->setColor(PHUIButtonView::GREEN);
|
->setColor(PHUIButtonView::GREEN);
|
||||||
|
|
||||||
$icon = $this->getApplication()->getFontIcon();
|
$icon = $this->getApplication()->getIcon();
|
||||||
$app_name = $this->getApplication()->getName();
|
$app_name = $this->getApplication()->getName();
|
||||||
$view = id(new PHUIBigInfoView())
|
$view = id(new PHUIBigInfoView())
|
||||||
->setIcon($icon)
|
->setIcon($icon)
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorMacroApplication extends PhabricatorApplication {
|
||||||
return pht('Image Macros and Memes');
|
return pht('Image Macros and Memes');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-file-image-o';
|
return 'fa-file-image-o';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorMacroConfigOptions
|
||||||
return pht('Configure Macro.');
|
return pht('Configure Macro.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-file-image-o';
|
return 'fa-file-image-o';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -54,12 +54,12 @@ final class PhabricatorIconRemarkupRule extends PhutilRemarkupRule {
|
||||||
|
|
||||||
static $icon_names;
|
static $icon_names;
|
||||||
if (!$icon_names) {
|
if (!$icon_names) {
|
||||||
$icon_names = array_fuse(PHUIIconView::getFontIcons());
|
$icon_names = array_fuse(PHUIIconView::getIcons());
|
||||||
}
|
}
|
||||||
|
|
||||||
static $color_names;
|
static $color_names;
|
||||||
if (!$color_names) {
|
if (!$color_names) {
|
||||||
$color_names = array_fuse(PHUIIconView::getFontIconColors());
|
$color_names = array_fuse(PHUIIconView::getIconColors());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($icon_names['fa-'.$icon])) {
|
if (empty($icon_names['fa-'.$icon])) {
|
||||||
|
|
|
@ -196,7 +196,7 @@ final class PhabricatorMacroSearchEngine
|
||||||
->setHref('/macro/create/')
|
->setHref('/macro/create/')
|
||||||
->setColor(PHUIButtonView::GREEN);
|
->setColor(PHUIButtonView::GREEN);
|
||||||
|
|
||||||
$icon = $this->getApplication()->getFontIcon();
|
$icon = $this->getApplication()->getIcon();
|
||||||
$app_name = $this->getApplication()->getName();
|
$app_name = $this->getApplication()->getName();
|
||||||
$view = id(new PHUIBigInfoView())
|
$view = id(new PHUIBigInfoView())
|
||||||
->setIcon($icon)
|
->setIcon($icon)
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorManiphestApplication extends PhabricatorApplication {
|
||||||
return '/maniphest/';
|
return '/maniphest/';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-anchor';
|
return 'fa-anchor';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorManiphestConfigOptions
|
||||||
return pht('Configure Maniphest.');
|
return pht('Configure Maniphest.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-anchor';
|
return 'fa-anchor';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -392,7 +392,7 @@ final class ManiphestTaskSearchEngine
|
||||||
->setHref('/maniphest/task/edit/')
|
->setHref('/maniphest/task/edit/')
|
||||||
->setColor(PHUIButtonView::GREEN);
|
->setColor(PHUIButtonView::GREEN);
|
||||||
|
|
||||||
$icon = $this->getApplication()->getFontIcon();
|
$icon = $this->getApplication()->getIcon();
|
||||||
$app_name = $this->getApplication()->getName();
|
$app_name = $this->getApplication()->getName();
|
||||||
$view = id(new PHUIBigInfoView())
|
$view = id(new PHUIBigInfoView())
|
||||||
->setIcon($icon)
|
->setIcon($icon)
|
||||||
|
|
|
@ -24,7 +24,7 @@ final class PhabricatorApplicationsApplication extends PhabricatorApplication {
|
||||||
return pht('Explore More Applications');
|
return pht('Explore More Applications');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-globe';
|
return 'fa-globe';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -209,7 +209,7 @@ final class PhabricatorAppSearchEngine
|
||||||
$list = new PHUIObjectItemListView();
|
$list = new PHUIObjectItemListView();
|
||||||
|
|
||||||
foreach ($applications as $application) {
|
foreach ($applications as $application) {
|
||||||
$icon = $application->getFontIcon();
|
$icon = $application->getIcon();
|
||||||
if (!$icon) {
|
if (!$icon) {
|
||||||
$icon = 'application';
|
$icon = 'application';
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@ final class PhabricatorApplicationDatasource
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$name = $application->getName().' '.$application->getShortDescription();
|
$name = $application->getName().' '.$application->getShortDescription();
|
||||||
$img = 'phui-font-fa phui-icon-view '.$application->getFontIcon();
|
$img = 'phui-font-fa phui-icon-view '.$application->getIcon();
|
||||||
$results[] = id(new PhabricatorTypeaheadResult())
|
$results[] = id(new PhabricatorTypeaheadResult())
|
||||||
->setName($name)
|
->setName($name)
|
||||||
->setURI($uri)
|
->setURI($uri)
|
||||||
|
|
|
@ -113,7 +113,7 @@ final class PhabricatorApplicationLaunchView extends AphrontTagView {
|
||||||
if ($application->getIconURI()) {
|
if ($application->getIconURI()) {
|
||||||
$styles[] = 'background-image: url('.$application->getIconURI().')';
|
$styles[] = 'background-image: url('.$application->getIconURI().')';
|
||||||
} else {
|
} else {
|
||||||
$classes[] = $application->getFontIcon();
|
$classes[] = $application->getIcon();
|
||||||
$classes[] = 'phui-icon-view';
|
$classes[] = 'phui-icon-view';
|
||||||
$classes[] = 'phui-font-fa';
|
$classes[] = 'phui-font-fa';
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@ final class PhabricatorMetaMTAApplication extends PhabricatorApplication {
|
||||||
return '/mail/';
|
return '/mail/';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-send';
|
return 'fa-send';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorMultimeterApplication
|
||||||
return '/multimeter/';
|
return '/multimeter/';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-motorcycle';
|
return 'fa-motorcycle';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorNotificationsApplication extends PhabricatorApplication {
|
||||||
return pht('Real-Time Updates and Alerts');
|
return pht('Real-Time Updates and Alerts');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-bell';
|
return 'fa-bell';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ final class PhabricatorNuanceApplication extends PhabricatorApplication {
|
||||||
return pht('Nuance');
|
return pht('Nuance');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-fax';
|
return 'fa-fax';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,14 +16,14 @@ final class NuanceConsoleController extends NuanceController {
|
||||||
id(new PHUIObjectItemView())
|
id(new PHUIObjectItemView())
|
||||||
->setHeader(pht('Queues'))
|
->setHeader(pht('Queues'))
|
||||||
->setHref($this->getApplicationURI('queue/'))
|
->setHref($this->getApplicationURI('queue/'))
|
||||||
->setFontIcon('fa-align-left')
|
->setIcon('fa-align-left')
|
||||||
->addAttribute(pht('Manage Nuance queues.')));
|
->addAttribute(pht('Manage Nuance queues.')));
|
||||||
|
|
||||||
$menu->addItem(
|
$menu->addItem(
|
||||||
id(new PHUIObjectItemView())
|
id(new PHUIObjectItemView())
|
||||||
->setHeader(pht('Sources'))
|
->setHeader(pht('Sources'))
|
||||||
->setHref($this->getApplicationURI('source/'))
|
->setHref($this->getApplicationURI('source/'))
|
||||||
->setFontIcon('fa-filter')
|
->setIcon('fa-filter')
|
||||||
->addAttribute(pht('Manage Nuance sources.')));
|
->addAttribute(pht('Manage Nuance sources.')));
|
||||||
|
|
||||||
$crumbs = $this->buildApplicationCrumbs();
|
$crumbs = $this->buildApplicationCrumbs();
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorOAuthServerApplication extends PhabricatorApplication {
|
||||||
return pht('OAuth Login Provider');
|
return pht('OAuth Login Provider');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-hotel';
|
return 'fa-hotel';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ final class PhabricatorOwnersApplication extends PhabricatorApplication {
|
||||||
return '/owners/';
|
return '/owners/';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-gift';
|
return 'fa-gift';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorOwnersConfigOptions
|
||||||
return pht('Configure Owners.');
|
return pht('Configure Owners.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-gift';
|
return 'fa-gift';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -162,7 +162,7 @@ final class PhabricatorOwnersPackageSearchEngine
|
||||||
->setHref('/owners/edit/')
|
->setHref('/owners/edit/')
|
||||||
->setColor(PHUIButtonView::GREEN);
|
->setColor(PHUIButtonView::GREEN);
|
||||||
|
|
||||||
$icon = $this->getApplication()->getFontIcon();
|
$icon = $this->getApplication()->getIcon();
|
||||||
$app_name = $this->getApplication()->getName();
|
$app_name = $this->getApplication()->getName();
|
||||||
$view = id(new PHUIBigInfoView())
|
$view = id(new PHUIBigInfoView())
|
||||||
->setIcon($icon)
|
->setIcon($icon)
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorPassphraseApplication extends PhabricatorApplication {
|
||||||
return pht('Credential Store');
|
return pht('Credential Store');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-user-secret';
|
return 'fa-user-secret';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -118,7 +118,7 @@ final class PassphraseCredentialSearchEngine
|
||||||
->setHref('/passphrase/create/')
|
->setHref('/passphrase/create/')
|
||||||
->setColor(PHUIButtonView::GREEN);
|
->setColor(PHUIButtonView::GREEN);
|
||||||
|
|
||||||
$icon = $this->getApplication()->getFontIcon();
|
$icon = $this->getApplication()->getIcon();
|
||||||
$app_name = $this->getApplication()->getName();
|
$app_name = $this->getApplication()->getName();
|
||||||
$view = id(new PHUIBigInfoView())
|
$view = id(new PHUIBigInfoView())
|
||||||
->setIcon($icon)
|
->setIcon($icon)
|
||||||
|
|
|
@ -10,7 +10,7 @@ final class PhabricatorPasteApplication extends PhabricatorApplication {
|
||||||
return '/paste/';
|
return '/paste/';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-paste';
|
return 'fa-paste';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorPasteConfigOptions
|
||||||
return pht('Configure Paste.');
|
return pht('Configure Paste.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-paste';
|
return 'fa-paste';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -210,7 +210,7 @@ final class PhabricatorPasteSearchEngine
|
||||||
->setHref('/paste/create/')
|
->setHref('/paste/create/')
|
||||||
->setColor(PHUIButtonView::GREEN);
|
->setColor(PHUIButtonView::GREEN);
|
||||||
|
|
||||||
$icon = $this->getApplication()->getFontIcon();
|
$icon = $this->getApplication()->getIcon();
|
||||||
$app_name = $this->getApplication()->getName();
|
$app_name = $this->getApplication()->getName();
|
||||||
$view = id(new PHUIBigInfoView())
|
$view = id(new PHUIBigInfoView())
|
||||||
->setIcon($icon)
|
->setIcon($icon)
|
||||||
|
|
|
@ -18,7 +18,7 @@ final class PhabricatorPeopleApplication extends PhabricatorApplication {
|
||||||
return "\xE2\x99\x9F";
|
return "\xE2\x99\x9F";
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-users';
|
return 'fa-users';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ final class PhabricatorUserConfigOptions
|
||||||
return pht('User profiles configuration.');
|
return pht('User profiles configuration.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-users';
|
return 'fa-users';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ final class PhabricatorPhameApplication extends PhabricatorApplication {
|
||||||
return '/phame/';
|
return '/phame/';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-star';
|
return 'fa-star';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ abstract class PhabricatorPHIDType extends Phobject {
|
||||||
$application_class = $this->getPHIDTypeApplicationClass();
|
$application_class = $this->getPHIDTypeApplicationClass();
|
||||||
if ($application_class) {
|
if ($application_class) {
|
||||||
$application = newv($application_class, array());
|
$application = newv($application_class, array());
|
||||||
return $application->getFontIcon();
|
return $application->getIcon();
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorPhluxApplication extends PhabricatorApplication {
|
||||||
return pht('Key/Value Configuration Store');
|
return pht('Key/Value Configuration Store');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFontIcon() {
|
public function getIcon() {
|
||||||
return 'fa-copy';
|
return 'fa-copy';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue