From c7380b6023435a4767204ec7c02f40461c492881 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Tue, 20 May 2014 11:59:02 -0700 Subject: [PATCH] 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 --- .../pholio/controller/PholioMockViewController.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/applications/pholio/controller/PholioMockViewController.php b/src/applications/pholio/controller/PholioMockViewController.php index 0388791529..ad2af6c984 100644 --- a/src/applications/pholio/controller/PholioMockViewController.php +++ b/src/applications/pholio/controller/PholioMockViewController.php @@ -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);