1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 06:20:56 +01:00

Fix header icons in Pholio

Summary: Uses FontAwesome

Test Plan: Open/Close a Pholio Mock in my sandbox.

Reviewers: lpriestley, epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9220
This commit is contained in:
Chad Little 2014-05-20 11:59:02 -07:00
parent f9f4fe67fb
commit c7380b6023

View file

@ -68,17 +68,19 @@ final class PholioMockViewController extends PholioController {
$title = $mock->getName();
if ($mock->isClosed()) {
$header_icon = 'oh-closed';
$header_icon = 'fa-ban';
$header_name = pht('Closed');
$header_color = 'dark';
} else {
$header_icon = 'open';
$header_icon = 'fa-square-o';
$header_name = pht('Open');
$header_color = 'bluegrey';
}
$header = id(new PHUIHeaderView())
->setHeader($title)
->setUser($user)
->setStatus($header_icon, '', $header_name)
->setStatus($header_icon, $header_color, $header_name)
->setPolicyObject($mock);
$actions = $this->buildActionView($mock);