@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator

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

authored by

Chad Little and committed by
chad
ba5b32f5 ac729278

+5 -2
+2 -1
src/applications/countdown/controller/PhabricatorCountdownViewController.php
··· 46 46 ->setHeader($title) 47 47 ->setUser($viewer) 48 48 ->setPolicyObject($countdown) 49 - ->setStatus($icon, $color, $status); 49 + ->setStatus($icon, $color, $status) 50 + ->setHeaderIcon('fa-rocket'); 50 51 51 52 $actions = $this->buildActionListView($countdown); 52 53 $properties = $this->buildPropertyListView($countdown);
+1
src/applications/ponder/controller/PonderQuestionViewController.php
··· 31 31 $header->setHeader($question->getTitle()); 32 32 $header->setUser($viewer); 33 33 $header->setPolicyObject($question); 34 + $header->setHeaderIcon('fa-university'); 34 35 35 36 if ($question->getStatus() == PonderQuestionStatus::STATUS_OPEN) { 36 37 $header->setStatus('fa-square-o', 'bluegrey', pht('Open'));
+2 -1
src/applications/slowvote/controller/PhabricatorSlowvotePollController.php
··· 43 43 ->setHeader($poll->getQuestion()) 44 44 ->setUser($viewer) 45 45 ->setStatus($header_icon, $header_color, $header_name) 46 - ->setPolicyObject($poll); 46 + ->setPolicyObject($poll) 47 + ->setHeaderIcon('fa-bar-chart'); 47 48 48 49 $actions = $this->buildActionView($poll); 49 50 $properties = $this->buildPropertyView($poll);