1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 20:10:55 +01:00

Properly set project icon in timeline

Summary: This fixes a bug where the icon won't display since it doesn't include `fa-`.

Test Plan: Change icon on a project, revisit timeline and see icon.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D16512
This commit is contained in:
Chad Little 2016-09-07 10:33:26 -07:00
parent 9f43091714
commit 7368859d8d

View file

@ -126,7 +126,7 @@ final class PhabricatorProjectTransaction
return 'fa-unlock';
}
case self::TYPE_ICON:
return $new;
return 'fa-'.$new;
case self::TYPE_IMAGE:
return 'fa-photo';
case self::TYPE_MEMBERS: