Skip to content

Commit 2c9a93e

Browse files
Chad Littlechad
authored andcommitted
Fix app icons in homepage settings
Summary: These were blank, from last week's shenanigans. Test Plan: View homepage settings, see icons. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D16447
1 parent 605210b commit 2c9a93e

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

src/applications/settings/panel/PhabricatorHomePreferencesSettingsPanel.php

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -152,20 +152,12 @@ public function processRequest(AphrontRequest $request) {
152152

153153
$icon = $application->getIcon();
154154
if (!$icon) {
155-
$icon = 'application';
155+
$icon = 'fa-globe';
156156
}
157157

158-
$icon_view = javelin_tag(
159-
'span',
160-
array(
161-
'class' => 'phui-icon-view phui-font-fa '.$icon,
162-
'aural' => false,
163-
),
164-
'');
165-
166158
$item = id(new PHUIObjectItemView())
167159
->setHeader($application->getName())
168-
->setImageIcon($icon_view)
160+
->setImageIcon($icon)
169161
->addAttribute($application->getShortDescription())
170162
->setGrippable(true);
171163

0 commit comments

Comments
 (0)