1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 07:12:41 +01:00

Fix old icon css

Summary:
Updated some old css to point at the new icon set
Fixes T5357

Test Plan: View it

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Maniphest Tasks: T5357

Differential Revision: https://secure.phabricator.com/D9578
This commit is contained in:
Gareth Evans 2014-06-16 12:26:52 -07:00 committed by epriestley
parent 824b8108da
commit f1fa8fccb6

View file

@ -121,13 +121,11 @@ final class DiffusionHistoryController extends DiffusionController {
$request = $this->getRequest(); $request = $this->getRequest();
if ($request->getBool('copies')) { if ($request->getBool('copies')) {
$branch_name = pht('Hide Copies/Branches'); $branch_name = pht('Hide Copies/Branches');
$branch_icon = 'fork-grey';
$branch_uri = $request->getRequestURI() $branch_uri = $request->getRequestURI()
->alter('offset', null) ->alter('offset', null)
->alter('copies', null); ->alter('copies', null);
} else { } else {
$branch_name = pht('Show Copies/Branches'); $branch_name = pht('Show Copies/Branches');
$branch_icon = 'fork';
$branch_uri = $request->getRequestURI() $branch_uri = $request->getRequestURI()
->alter('offset', null) ->alter('offset', null)
->alter('copies', true); ->alter('copies', true);
@ -136,7 +134,7 @@ final class DiffusionHistoryController extends DiffusionController {
$view->addAction( $view->addAction(
id(new PhabricatorActionView()) id(new PhabricatorActionView())
->setName($branch_name) ->setName($branch_name)
->setIcon($branch_icon) ->setIcon('fa-code-fork')
->setHref($branch_uri)); ->setHref($branch_uri));
return $view; return $view;