mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 12:00:55 +01:00
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
This commit is contained in:
parent
605210bc95
commit
2c9a93eda7
1 changed files with 2 additions and 10 deletions
|
@ -152,20 +152,12 @@ final class PhabricatorHomePreferencesSettingsPanel
|
||||||
|
|
||||||
$icon = $application->getIcon();
|
$icon = $application->getIcon();
|
||||||
if (!$icon) {
|
if (!$icon) {
|
||||||
$icon = 'application';
|
$icon = 'fa-globe';
|
||||||
}
|
}
|
||||||
|
|
||||||
$icon_view = javelin_tag(
|
|
||||||
'span',
|
|
||||||
array(
|
|
||||||
'class' => 'phui-icon-view phui-font-fa '.$icon,
|
|
||||||
'aural' => false,
|
|
||||||
),
|
|
||||||
'');
|
|
||||||
|
|
||||||
$item = id(new PHUIObjectItemView())
|
$item = id(new PHUIObjectItemView())
|
||||||
->setHeader($application->getName())
|
->setHeader($application->getName())
|
||||||
->setImageIcon($icon_view)
|
->setImageIcon($icon)
|
||||||
->addAttribute($application->getShortDescription())
|
->addAttribute($application->getShortDescription())
|
||||||
->setGrippable(true);
|
->setGrippable(true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue