1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-20 13:52:40 +01:00

[Redesign] Add ActionIcon to home panels

Summary: Ref T8099, adds an action icon similar to dashboards for taking people to the search.

Test Plan: Click on each icon, verify it takes me to correct URL.

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T8099

Differential Revision: https://secure.phabricator.com/D12974
This commit is contained in:
Chad Little 2015-05-22 07:13:40 -07:00
parent 039bc12692
commit a8ee3db281

View file

@ -319,8 +319,12 @@ final class PhabricatorHomeMainController extends PhabricatorHomeController {
'href' => $href,
),
$title);
$icon = id(new PHUIIconView())
->setIconFont('fa-search')
->setHref($href);
$header = id(new PHUIHeaderView())
->setHeader($title);
->setHeader($title)
->addActionIcon($icon);
return $header;
}