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:
parent
039bc12692
commit
a8ee3db281
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue