From 0120388a751639de6e9f3ea33bf29bea614eaf70 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Tue, 13 May 2014 07:45:39 -0700 Subject: [PATCH] Found some missing icons Summary: Did a more exhaustive grep on setIcon and found 99.9% of the icons. Test Plan: I verified icon names on UIExamples, but unable to test some of the more complex flows visually. Mostly a read and replace. Reviewers: epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin, hach-que Differential Revision: https://secure.phabricator.com/D9088 --- .../config/PhabricatorAuthListController.php | 6 +++--- .../PhabricatorConfigIssueListController.php | 4 ++-- .../PhabricatorWorkerTaskDetailController.php | 6 +++--- .../landing/DifferentialLandingToGitHub.php | 2 +- .../controller/DiffusionChangeController.php | 4 ++-- .../controller/DiffusionHistoryController.php | 2 +- .../controller/DiffusionLintController.php | 6 +++--- .../DiffusionRepositoryEditMainController.php | 2 +- .../controller/DrydockLeaseViewController.php | 2 +- .../DrydockResourceViewController.php | 2 +- .../PhabricatorFileInfoController.php | 6 +++--- .../HarbormasterBuildViewController.php | 6 +++--- .../HarbormasterBuildableViewController.php | 18 ++++++++--------- .../herald/query/HeraldRuleSearchEngine.php | 8 ++++---- .../post/PhamePostViewController.php | 8 ++++---- .../controller/PhragmentHistoryController.php | 4 ++-- .../PhragmentSnapshotViewController.php | 6 +++--- .../controller/PhragmentVersionController.php | 6 +++--- .../phrequent/query/PhrequentSearchEngine.php | 2 +- ...abricatorSettingsPanelExternalAccounts.php | 6 +++--- .../examples/PHUITimelineExample.php | 20 +++++++++---------- ...PhabricatorCustomFieldConfigOptionType.php | 6 +++--- 22 files changed, 66 insertions(+), 66 deletions(-) diff --git a/src/applications/auth/controller/config/PhabricatorAuthListController.php b/src/applications/auth/controller/config/PhabricatorAuthListController.php index 421e3197a2..3c774f718a 100644 --- a/src/applications/auth/controller/config/PhabricatorAuthListController.php +++ b/src/applications/auth/controller/config/PhabricatorAuthListController.php @@ -53,15 +53,15 @@ final class PhabricatorAuthListController $item->setBarColor('green'); $item->addAction( id(new PHUIListItemView()) - ->setIcon('delete') + ->setIcon('fa-times') ->setHref($disable_uri) ->addSigil('workflow')); } else { $item->setBarColor('grey'); - $item->addIcon('delete-grey', pht('Disabled')); + $item->addIcon('fa-times grey', pht('Disabled')); $item->addAction( id(new PHUIListItemView()) - ->setIcon('new') + ->setIcon('fa-plus') ->setHref($enable_uri) ->addSigil('workflow')); } diff --git a/src/applications/config/controller/PhabricatorConfigIssueListController.php b/src/applications/config/controller/PhabricatorConfigIssueListController.php index 7e002c92ea..6204836958 100644 --- a/src/applications/config/controller/PhabricatorConfigIssueListController.php +++ b/src/applications/config/controller/PhabricatorConfigIssueListController.php @@ -58,7 +58,7 @@ final class PhabricatorConfigIssueListController $item->setBarColor('yellow'); $item->addAction( id(new PHUIListItemView()) - ->setIcon('unpublish') + ->setIcon('fa-eye-slash') ->setWorkflow(true) ->setName(pht('Ignore')) ->setHref('/config/ignore/'.$issue->getIssueKey().'/')); @@ -68,7 +68,7 @@ final class PhabricatorConfigIssueListController $item->setDisabled(true); $item->addAction( id(new PHUIListItemView()) - ->setIcon('preview') + ->setIcon('fa-eye') ->setWorkflow(true) ->setName(pht('Unignore')) ->setHref('/config/unignore/'.$issue->getIssueKey().'/')); diff --git a/src/applications/daemon/controller/PhabricatorWorkerTaskDetailController.php b/src/applications/daemon/controller/PhabricatorWorkerTaskDetailController.php index 04ec5a4490..169df03d84 100644 --- a/src/applications/daemon/controller/PhabricatorWorkerTaskDetailController.php +++ b/src/applications/daemon/controller/PhabricatorWorkerTaskDetailController.php @@ -92,7 +92,7 @@ final class PhabricatorWorkerTaskDetailController id(new PhabricatorActionView()) ->setName(pht('Retry Task')) ->setHref($this->getApplicationURI('/task/'.$id.'/retry/')) - ->setIcon('undo') + ->setIcon('fa-refresh') ->setWorkflow(true) ->setDisabled(!$can_retry)); } else { @@ -100,7 +100,7 @@ final class PhabricatorWorkerTaskDetailController id(new PhabricatorActionView()) ->setName(pht('Cancel Task')) ->setHref($this->getApplicationURI('/task/'.$id.'/cancel/')) - ->setIcon('delete') + ->setIcon('fa-times') ->setWorkflow(true)); } @@ -111,7 +111,7 @@ final class PhabricatorWorkerTaskDetailController id(new PhabricatorActionView()) ->setName(pht('Free Lease')) ->setHref($this->getApplicationURI('/task/'.$id.'/release/')) - ->setIcon('unlock') + ->setIcon('fa-unlock') ->setWorkflow(true) ->setDisabled(!$can_release)); diff --git a/src/applications/differential/landing/DifferentialLandingToGitHub.php b/src/applications/differential/landing/DifferentialLandingToGitHub.php index 00c5362b22..24a1abe5b0 100644 --- a/src/applications/differential/landing/DifferentialLandingToGitHub.php +++ b/src/applications/differential/landing/DifferentialLandingToGitHub.php @@ -70,7 +70,7 @@ final class DifferentialLandingToGitHub } return $this->createActionView($revision, pht('Land to GitHub')) - ->setIcon('octocat'); + ->setIcon('fa-cloud-upload'); } public function pushWorkspaceRepository( diff --git a/src/applications/diffusion/controller/DiffusionChangeController.php b/src/applications/diffusion/controller/DiffusionChangeController.php index 74c349c6c3..1c0c81c52b 100644 --- a/src/applications/diffusion/controller/DiffusionChangeController.php +++ b/src/applications/diffusion/controller/DiffusionChangeController.php @@ -113,7 +113,7 @@ final class DiffusionChangeController extends DiffusionController { id(new PhabricatorActionView()) ->setName(pht('View History')) ->setHref($history_uri) - ->setIcon('history')); + ->setIcon('fa-clock-o')); $browse_uri = $drequest->generateURI( array( @@ -124,7 +124,7 @@ final class DiffusionChangeController extends DiffusionController { id(new PhabricatorActionView()) ->setName(pht('Browse Content')) ->setHref($browse_uri) - ->setIcon('file')); + ->setIcon('fa-files-o')); return $view; } diff --git a/src/applications/diffusion/controller/DiffusionHistoryController.php b/src/applications/diffusion/controller/DiffusionHistoryController.php index f64687d237..91e4479acf 100644 --- a/src/applications/diffusion/controller/DiffusionHistoryController.php +++ b/src/applications/diffusion/controller/DiffusionHistoryController.php @@ -113,7 +113,7 @@ final class DiffusionHistoryController extends DiffusionController { id(new PhabricatorActionView()) ->setName(pht('Browse Content')) ->setHref($browse_uri) - ->setIcon('file')); + ->setIcon('fa-files-o')); // TODO: Sometimes we do have a change view, we need to look at the most // recent history entry to figure it out. diff --git a/src/applications/diffusion/controller/DiffusionLintController.php b/src/applications/diffusion/controller/DiffusionLintController.php index f826f33aa8..507581f540 100644 --- a/src/applications/diffusion/controller/DiffusionLintController.php +++ b/src/applications/diffusion/controller/DiffusionLintController.php @@ -279,7 +279,7 @@ final class DiffusionLintController extends DiffusionController { id(new PhabricatorActionView()) ->setName(pht('View As List')) ->setHref($list_uri) - ->setIcon('transcript')); + ->setIcon('fa-list')); $history_uri = $drequest->generateURI( array( @@ -290,7 +290,7 @@ final class DiffusionLintController extends DiffusionController { id(new PhabricatorActionView()) ->setName(pht('View History')) ->setHref($history_uri) - ->setIcon('history')); + ->setIcon('fa-clock-o')); $browse_uri = $drequest->generateURI( array( @@ -301,7 +301,7 @@ final class DiffusionLintController extends DiffusionController { id(new PhabricatorActionView()) ->setName(pht('Browse Content')) ->setHref($browse_uri) - ->setIcon('file')); + ->setIcon('fa-files-o')); return $view; } diff --git a/src/applications/diffusion/controller/DiffusionRepositoryEditMainController.php b/src/applications/diffusion/controller/DiffusionRepositoryEditMainController.php index 940c775394..a1b89d1a89 100644 --- a/src/applications/diffusion/controller/DiffusionRepositoryEditMainController.php +++ b/src/applications/diffusion/controller/DiffusionRepositoryEditMainController.php @@ -1098,7 +1098,7 @@ final class DiffusionRepositoryEditMainController $item->addAction( id(new PHUIListItemView()) - ->setIcon('delete') + ->setIcon('fa-times') ->setHref($delete_uri) ->setWorkflow(true)); diff --git a/src/applications/drydock/controller/DrydockLeaseViewController.php b/src/applications/drydock/controller/DrydockLeaseViewController.php index cbf83d6120..7075e55128 100644 --- a/src/applications/drydock/controller/DrydockLeaseViewController.php +++ b/src/applications/drydock/controller/DrydockLeaseViewController.php @@ -76,7 +76,7 @@ final class DrydockLeaseViewController extends DrydockLeaseController { $view->addAction( id(new PhabricatorActionView()) ->setName(pht('Release Lease')) - ->setIcon('delete') + ->setIcon('fa-times') ->setHref($this->getApplicationURI("/lease/{$id}/release/")) ->setWorkflow(true) ->setDisabled(!$can_release)); diff --git a/src/applications/drydock/controller/DrydockResourceViewController.php b/src/applications/drydock/controller/DrydockResourceViewController.php index e8e7340a88..9ac417bad3 100644 --- a/src/applications/drydock/controller/DrydockResourceViewController.php +++ b/src/applications/drydock/controller/DrydockResourceViewController.php @@ -87,7 +87,7 @@ final class DrydockResourceViewController extends DrydockResourceController { id(new PhabricatorActionView()) ->setHref($uri) ->setName(pht('Close Resource')) - ->setIcon('delete') + ->setIcon('fa-times') ->setWorkflow(true) ->setDisabled(!$can_close)); diff --git a/src/applications/files/controller/PhabricatorFileInfoController.php b/src/applications/files/controller/PhabricatorFileInfoController.php index 486da7774d..6f6df0f65f 100644 --- a/src/applications/files/controller/PhabricatorFileInfoController.php +++ b/src/applications/files/controller/PhabricatorFileInfoController.php @@ -129,7 +129,7 @@ final class PhabricatorFileInfoController extends PhabricatorFileController { $view->addAction( id(new PhabricatorActionView()) ->setName(pht('View File')) - ->setIcon('preview') + ->setIcon('fa-file-o') ->setHref($file->getViewURI())); } else { $view->addAction( @@ -138,14 +138,14 @@ final class PhabricatorFileInfoController extends PhabricatorFileController { ->setRenderAsForm(true) ->setDownload(true) ->setName(pht('Download File')) - ->setIcon('download') + ->setIcon('fa-download') ->setHref($file->getViewURI())); } $view->addAction( id(new PhabricatorActionView()) ->setName(pht('Delete File')) - ->setIcon('delete') + ->setIcon('fa-times') ->setHref($this->getApplicationURI("/delete/{$id}/")) ->setWorkflow(true)); diff --git a/src/applications/harbormaster/controller/HarbormasterBuildViewController.php b/src/applications/harbormaster/controller/HarbormasterBuildViewController.php index 0a4a65fc23..f3a16b5c7d 100644 --- a/src/applications/harbormaster/controller/HarbormasterBuildViewController.php +++ b/src/applications/harbormaster/controller/HarbormasterBuildViewController.php @@ -246,7 +246,7 @@ final class HarbormasterBuildViewController $list->addAction( id(new PhabricatorActionView()) ->setName(pht('Restart Build')) - ->setIcon('backward') + ->setIcon('fa-backward') ->setHref($this->getApplicationURI('/build/restart/'.$id.'/')) ->setDisabled(!$can_restart) ->setWorkflow(true)); @@ -254,7 +254,7 @@ final class HarbormasterBuildViewController $list->addAction( id(new PhabricatorActionView()) ->setName(pht('Stop Build')) - ->setIcon('stop') + ->setIcon('fa-stop') ->setHref($this->getApplicationURI('/build/stop/'.$id.'/')) ->setDisabled(!$can_stop) ->setWorkflow(true)); @@ -262,7 +262,7 @@ final class HarbormasterBuildViewController $list->addAction( id(new PhabricatorActionView()) ->setName(pht('Resume Build')) - ->setIcon('play') + ->setIcon('fa-play') ->setHref($this->getApplicationURI('/build/resume/'.$id.'/')) ->setDisabled(!$can_resume) ->setWorkflow(true)); diff --git a/src/applications/harbormaster/controller/HarbormasterBuildableViewController.php b/src/applications/harbormaster/controller/HarbormasterBuildableViewController.php index dcc68da6f4..ac82071ee1 100644 --- a/src/applications/harbormaster/controller/HarbormasterBuildableViewController.php +++ b/src/applications/harbormaster/controller/HarbormasterBuildableViewController.php @@ -101,7 +101,7 @@ final class HarbormasterBuildableViewController $list->addAction( id(new PhabricatorActionView()) - ->setIcon('backward') + ->setIcon('fa-backward') ->setName(pht('Restart All Builds')) ->setHref($this->getApplicationURI($restart_uri)) ->setWorkflow(true) @@ -109,7 +109,7 @@ final class HarbormasterBuildableViewController $list->addAction( id(new PhabricatorActionView()) - ->setIcon('stop') + ->setIcon('fa-stop') ->setName(pht('Stop All Builds')) ->setHref($this->getApplicationURI($stop_uri)) ->setWorkflow(true) @@ -117,7 +117,7 @@ final class HarbormasterBuildableViewController $list->addAction( id(new PhabricatorActionView()) - ->setIcon('play') + ->setIcon('fa-play') ->setName(pht('Resume All Builds')) ->setHref($this->getApplicationURI($resume_uri)) ->setWorkflow(true) @@ -197,11 +197,11 @@ final class HarbormasterBuildableViewController $item->addAttribute(HarbormasterBuild::getBuildStatusName($status)); if ($build->isRestarting()) { - $item->addIcon('backward', pht('Restarting')); + $item->addIcon('fa-backward', pht('Restarting')); } else if ($build->isStopping()) { - $item->addIcon('stop', pht('Stopping')); + $item->addIcon('fa-stop', pht('Stopping')); } else if ($build->isResuming()) { - $item->addIcon('play', pht('Resuming')); + $item->addIcon('fa-play', pht('Resuming')); } $build_id = $build->getID(); @@ -212,7 +212,7 @@ final class HarbormasterBuildableViewController $item->addAction( id(new PHUIListItemView()) - ->setIcon('backward') + ->setIcon('fa-backward') ->setName(pht('Restart')) ->setHref($this->getApplicationURI($restart_uri)) ->setWorkflow(true) @@ -221,14 +221,14 @@ final class HarbormasterBuildableViewController if ($build->canResumeBuild()) { $item->addAction( id(new PHUIListItemView()) - ->setIcon('play') + ->setIcon('fa-play') ->setName(pht('Resume')) ->setHref($this->getApplicationURI($resume_uri)) ->setWorkflow(true)); } else { $item->addAction( id(new PHUIListItemView()) - ->setIcon('stop') + ->setIcon('fa-stop') ->setName(pht('Stop')) ->setHref($this->getApplicationURI($stop_uri)) ->setWorkflow(true) diff --git a/src/applications/herald/query/HeraldRuleSearchEngine.php b/src/applications/herald/query/HeraldRuleSearchEngine.php index 1150c60c59..5f912253d1 100644 --- a/src/applications/herald/query/HeraldRuleSearchEngine.php +++ b/src/applications/herald/query/HeraldRuleSearchEngine.php @@ -184,24 +184,24 @@ final class HeraldRuleSearchEngine ->setHref($this->getApplicationURI("rule/{$id}/")); if ($rule->isPersonalRule()) { - $item->addIcon('user', pht('Personal Rule')); + $item->addIcon('fa-user', pht('Personal Rule')); $item->addByline( pht( 'Authored by %s', $handles[$rule->getAuthorPHID()]->renderLink())); } else { - $item->addIcon('world', pht('Global Rule')); + $item->addIcon('fa-globe', pht('Global Rule')); } if ($rule->getIsDisabled()) { $item->setDisabled(true); - $item->addIcon('disable-grey', pht('Disabled')); + $item->addIcon('fa-lock grey', pht('Disabled')); } $item->addAction( id(new PHUIListItemView()) ->setHref($this->getApplicationURI("history/{$id}/")) - ->setIcon('transcript') + ->setIcon('fa-file-text-o') ->setName(pht('Edit Log'))); $content_type_name = idx($content_type_map, $rule->getContentType()); diff --git a/src/applications/phame/controller/post/PhamePostViewController.php b/src/applications/phame/controller/post/PhamePostViewController.php index 7c07c7050e..80184735c7 100644 --- a/src/applications/phame/controller/post/PhamePostViewController.php +++ b/src/applications/phame/controller/post/PhamePostViewController.php @@ -119,13 +119,13 @@ final class PhamePostViewController extends PhameController { if ($post->isDraft()) { $actions->addAction( id(new PhabricatorActionView()) - ->setIcon('preview') + ->setIcon('fa-eye') ->setHref($this->getApplicationURI('post/publish/'.$id.'/')) ->setName(pht('Preview / Publish'))); } else { $actions->addAction( id(new PhabricatorActionView()) - ->setIcon('unpublish') + ->setIcon('fa-eye-slash') ->setHref($this->getApplicationURI('post/unpublish/'.$id.'/')) ->setName(pht('Unpublish')) ->setWorkflow(true)); @@ -133,7 +133,7 @@ final class PhamePostViewController extends PhameController { $actions->addAction( id(new PhabricatorActionView()) - ->setIcon('delete') + ->setIcon('fa-times') ->setHref($this->getApplicationURI('post/delete/'.$id.'/')) ->setName(pht('Delete Post')) ->setDisabled(!$can_edit) @@ -152,7 +152,7 @@ final class PhamePostViewController extends PhameController { $actions->addAction( id(new PhabricatorActionView()) ->setUser($user) - ->setIcon('world') + ->setIcon('fa-globe') ->setHref($live_uri) ->setName(pht('View Live')) ->setDisabled(!$can_view_live) diff --git a/src/applications/phragment/controller/PhragmentHistoryController.php b/src/applications/phragment/controller/PhragmentHistoryController.php index 3cd282e91a..396a2a38bf 100644 --- a/src/applications/phragment/controller/PhragmentHistoryController.php +++ b/src/applications/phragment/controller/PhragmentHistoryController.php @@ -72,7 +72,7 @@ final class PhragmentHistoryController extends PhragmentController { if (!$first && $can_edit) { $item->addAction(id(new PHUIListItemView()) - ->setIcon('undo') + ->setIcon('fa-refresh') ->setRenderNameAsTooltip(true) ->setWorkflow(true) ->setName(pht("Revert to Here")) @@ -82,7 +82,7 @@ final class PhragmentHistoryController extends PhragmentController { $disabled = !isset($files[$version->getFilePHID()]); $action = id(new PHUIListItemView()) - ->setIcon('download') + ->setIcon('fa-download') ->setDisabled($disabled || !$this->isCorrectlyConfigured()) ->setRenderNameAsTooltip(true) ->setName(pht("Download")); diff --git a/src/applications/phragment/controller/PhragmentSnapshotViewController.php b/src/applications/phragment/controller/PhragmentSnapshotViewController.php index 47663e6331..26d2a9f171 100644 --- a/src/applications/phragment/controller/PhragmentSnapshotViewController.php +++ b/src/applications/phragment/controller/PhragmentSnapshotViewController.php @@ -117,7 +117,7 @@ final class PhragmentSnapshotViewController extends PhragmentController { ->setName(pht('Download Snapshot as ZIP')) ->setHref($this->isCorrectlyConfigured() ? $zip_uri : null) ->setDisabled(!$this->isCorrectlyConfigured()) - ->setIcon('zip')); + ->setIcon('fa-floppy-o')); $actions->addAction( id(new PhabricatorActionView()) ->setName(pht('Delete Snapshot')) @@ -125,7 +125,7 @@ final class PhragmentSnapshotViewController extends PhragmentController { "snapshot/delete/".$snapshot->getID()."/")) ->setDisabled(!$can_edit) ->setWorkflow(true) - ->setIcon('delete')); + ->setIcon('fa-times')); $actions->addAction( id(new PhabricatorActionView()) ->setName(pht('Promote Another Snapshot to Here')) @@ -133,7 +133,7 @@ final class PhragmentSnapshotViewController extends PhragmentController { "snapshot/promote/".$snapshot->getID()."/")) ->setDisabled(!$can_edit) ->setWorkflow(true) - ->setIcon('promote')); + ->setIcon('fa-arrow-up')); $properties = id(new PHUIPropertyListView()) ->setUser($viewer) diff --git a/src/applications/phragment/controller/PhragmentVersionController.php b/src/applications/phragment/controller/PhragmentVersionController.php index 803d0afb56..0373f55e83 100644 --- a/src/applications/phragment/controller/PhragmentVersionController.php +++ b/src/applications/phragment/controller/PhragmentVersionController.php @@ -63,7 +63,7 @@ final class PhragmentVersionController extends PhragmentController { ->setName(pht('Download Version')) ->setDisabled($file === null || !$this->isCorrectlyConfigured()) ->setHref($this->isCorrectlyConfigured() ? $file_uri : null) - ->setIcon('download')); + ->setIcon('fa-download')); $properties = id(new PHUIPropertyListView()) ->setUser($viewer) @@ -113,7 +113,7 @@ final class PhragmentVersionController extends PhragmentController { $patch_uri = $this->getApplicationURI( 'patch/'.$previous_version->getID().'/'.$version->getID()); $item->addAction(id(new PHUIListItemView()) - ->setIcon('patch') + ->setIcon('fa-file-o') ->setName(pht("Get Patch")) ->setHref($this->isCorrectlyConfigured() ? $patch_uri : null) ->setDisabled(!$this->isCorrectlyConfigured())); @@ -124,7 +124,7 @@ final class PhragmentVersionController extends PhragmentController { $item->setHeader('Prior to Version 0'); $item->addAttribute('Prior to any content (empty file)'); $item->addAction(id(new PHUIListItemView()) - ->setIcon('patch') + ->setIcon('fa-file-o') ->setName(pht("Get Patch")) ->setHref($this->getApplicationURI( 'patch/x/'.$version->getID()))); diff --git a/src/applications/phrequent/query/PhrequentSearchEngine.php b/src/applications/phrequent/query/PhrequentSearchEngine.php index cb1a4c77e0..abf92b8cbe 100644 --- a/src/applications/phrequent/query/PhrequentSearchEngine.php +++ b/src/applications/phrequent/query/PhrequentSearchEngine.php @@ -182,7 +182,7 @@ final class PhrequentSearchEngine $usertime->getUserPHID() === $viewer->getPHID()) { $item->addAction( id(new PHUIListItemView()) - ->setIcon('history') + ->setIcon('fa-time-o') ->addSigil('phrequent-stop-tracking') ->setWorkflow(true) ->setRenderNameAsTooltip(true) diff --git a/src/applications/settings/panel/PhabricatorSettingsPanelExternalAccounts.php b/src/applications/settings/panel/PhabricatorSettingsPanelExternalAccounts.php index 18030c35c7..284da8da70 100644 --- a/src/applications/settings/panel/PhabricatorSettingsPanelExternalAccounts.php +++ b/src/applications/settings/panel/PhabricatorSettingsPanelExternalAccounts.php @@ -76,13 +76,13 @@ final class PhabricatorSettingsPanelExternalAccounts if ($can_refresh) { $item->addAction( id(new PHUIListItemView()) - ->setIcon('refresh') + ->setIcon('fa-refresh') ->setHref('/auth/refresh/'.$account->getProviderKey().'/')); } $item->addAction( id(new PHUIListItemView()) - ->setIcon('delete') + ->setIcon('fa-times') ->setWorkflow(true) ->setDisabled(!$can_unlink) ->setHref('/auth/unlink/'.$account->getProviderKey().'/')); @@ -124,7 +124,7 @@ final class PhabricatorSettingsPanelExternalAccounts $item->setHref($link_uri); $item->addAction( id(new PHUIListItemView()) - ->setIcon('link') + ->setIcon('fa-link') ->setHref($link_uri)); $linkable->addItem($item); diff --git a/src/applications/uiexample/examples/PHUITimelineExample.php b/src/applications/uiexample/examples/PHUITimelineExample.php index 75c04ff398..cfd5837c62 100644 --- a/src/applications/uiexample/examples/PHUITimelineExample.php +++ b/src/applications/uiexample/examples/PHUITimelineExample.php @@ -29,57 +29,57 @@ final class PHUITimelineExample extends PhabricatorUIExample { $events[] = id(new PHUITimelineEventView()) ->setUserHandle($handle) - ->setIcon('love') + ->setIcon('fa-heart') ->setTitle('A minor event.'); $events[] = id(new PHUITimelineEventView()) ->setUserHandle($handle) - ->setIcon('comment') + ->setIcon('fa-comment') ->appendChild('A major event with no title.'); $events[] = id(new PHUITimelineEventView()) ->setUserHandle($handle) - ->setIcon('dislike') + ->setIcon('fa-star') ->setTitle('Another minor event.'); $events[] = id(new PHUITimelineEventView()) - ->setIcon('like') + ->setIcon('fa-trophy') ->setToken('medal-1') ->setUserHandle($handle); $events[] = id(new PHUITimelineEventView()) - ->setIcon('dislike') + ->setIcon('fa-quote-left') ->setToken('medal-1', true) ->setUserHandle($handle); $events[] = id(new PHUITimelineEventView()) ->setUserHandle($handle) ->setTitle('Major Red Event') - ->setIcon('love') + ->setIcon('fa-heart-o') ->appendChild('This event is red!') ->setColor(PhabricatorTransactions::COLOR_RED); $events[] = id(new PHUITimelineEventView()) ->setUserHandle($handle) - ->setIcon('love') + ->setIcon('fa-female') ->setTitle('Minor Red Event') ->setColor(PhabricatorTransactions::COLOR_RED); $events[] = id(new PHUITimelineEventView()) - ->setIcon('like') + ->setIcon('fa-refresh') ->setUserHandle($handle) ->setTitle('Minor Not-Red Event') ->setColor(PhabricatorTransactions::COLOR_GREEN); $events[] = id(new PHUITimelineEventView()) ->setUserHandle($handle) - ->setIcon('love') + ->setIcon('fa-calendar-o') ->setTitle('Minor Red Event') ->setColor(PhabricatorTransactions::COLOR_RED); $events[] = id(new PHUITimelineEventView()) ->setUserHandle($handle) - ->setIcon('dislike') + ->setIcon('fa-random') ->setTitle('Minor Not-Red Event') ->setColor(PhabricatorTransactions::COLOR_BLACK); diff --git a/src/infrastructure/customfield/config/PhabricatorCustomFieldConfigOptionType.php b/src/infrastructure/customfield/config/PhabricatorCustomFieldConfigOptionType.php index ef6417ac5f..b26441f233 100644 --- a/src/infrastructure/customfield/config/PhabricatorCustomFieldConfigOptionType.php +++ b/src/infrastructure/customfield/config/PhabricatorCustomFieldConfigOptionType.php @@ -83,21 +83,21 @@ final class PhabricatorCustomFieldConfigOptionType id(new PHUIListItemView()) ->setHref('#') ->addSigil('field-spec-toggle') - ->setIcon('new')); + ->setIcon('fa-plus')); $enabled_item->setBarColor('green'); if (!$field->canDisableField()) { $enabled_item->addAction( id(new PHUIListItemView()) - ->setIcon('lock-grey')); + ->setIcon('fa-lock grey')); $enabled_item->addIcon('none', pht('Permanent Field')); } else { $enabled_item->addAction( id(new PHUIListItemView()) ->setHref('#') ->addSigil('field-spec-toggle') - ->setIcon('delete')); + ->setIcon('fa-times')); } $fields[$key] = array(