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:
		| @@ -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); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Chad Little
					Chad Little