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:
parent
ac72927832
commit
ba5b32f5bb
3 changed files with 5 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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'));
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue