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

Add headericons a little more consistently

Summary: I kinda like these to differentiate the headers and different object types. Somethings duplicitive, but helps orient the clean header a bit.

Test Plan: Review each in sandbox.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D15394
This commit is contained in:
Chad Little 2016-03-03 22:08:00 +00:00 committed by chad
parent ac72927832
commit ba5b32f5bb
3 changed files with 5 additions and 2 deletions

View file

@ -46,7 +46,8 @@ final class PhabricatorCountdownViewController
->setHeader($title)
->setUser($viewer)
->setPolicyObject($countdown)
->setStatus($icon, $color, $status);
->setStatus($icon, $color, $status)
->setHeaderIcon('fa-rocket');
$actions = $this->buildActionListView($countdown);
$properties = $this->buildPropertyListView($countdown);

View file

@ -31,6 +31,7 @@ final class PonderQuestionViewController extends PonderController {
$header->setHeader($question->getTitle());
$header->setUser($viewer);
$header->setPolicyObject($question);
$header->setHeaderIcon('fa-university');
if ($question->getStatus() == PonderQuestionStatus::STATUS_OPEN) {
$header->setStatus('fa-square-o', 'bluegrey', pht('Open'));

View file

@ -43,7 +43,8 @@ final class PhabricatorSlowvotePollController
->setHeader($poll->getQuestion())
->setUser($viewer)
->setStatus($header_icon, $header_color, $header_name)
->setPolicyObject($poll);
->setPolicyObject($poll)
->setHeaderIcon('fa-bar-chart');
$actions = $this->buildActionView($poll);
$properties = $this->buildPropertyView($poll);