Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/icon/PhabricatorCalendarIcon.php
<?php | <?php | ||||
final class PhabricatorCalendarIcon extends Phobject { | final class PhabricatorCalendarIcon extends Phobject { | ||||
public static function getIconMap() { | public static function getIconMap() { | ||||
return | return | ||||
array( | array( | ||||
'fa-briefcase' => pht('Briefcase'), | 'fa-calendar' => pht('Default'), | ||||
'fa-tags' => pht('Tag'), | 'fa-glass' => pht('Party'), | ||||
'fa-folder' => pht('Folder'), | 'fa-plane' => pht('Travel'), | ||||
'fa-users' => pht('Team'), | 'fa-plus-square' => pht('Health / Appointment'), | ||||
'fa-bug' => pht('Bug'), | 'fa-rocket' => pht('Sabatical / Leave'), | ||||
'fa-trash-o' => pht('Garbage'), | 'fa-home' => pht('Working From Home'), | ||||
'fa-calendar' => pht('Deadline'), | 'fa-tree' => pht('Holiday'), | ||||
'fa-flag-checkered' => pht('Goal'), | 'fa-gamepad' => pht('Staycation'), | ||||
epriestley: I'd prefer to avoid using a company logo, how about `fa-birthday-cake` instead? | |||||
'fa-envelope' => pht('Communication'), | 'fa-coffee' => pht('Coffee Meeting'), | ||||
'fa-truck' => pht('Release'), | 'fa-film' => pht('Movie'), | ||||
'fa-lock' => pht('Policy'), | 'fa-users' => pht('Meeting'), | ||||
'fa-umbrella' => pht('An Umbrella'), | 'fa-cutlery' => pht('Meal'), | ||||
'fa-cloud' => pht('The Cloud'), | 'fa-paw' => pht('Pet Activity'), | ||||
'fa-building' => pht('Company'), | 'fa-institution' => pht('Official Business'), | ||||
'fa-credit-card' => pht('Accounting'), | 'fa-bus' => pht('Field Trip'), | ||||
'fa-flask' => pht('Experimental'), | 'fa-microphone' => pht('Conference'), | ||||
); | ); | ||||
} | } | ||||
public static function getLabel($key) { | public static function getLabel($key) { | ||||
$map = self::getIconMap(); | $map = self::getIconMap(); | ||||
return $map[$key]; | return $map[$key]; | ||||
} | } | ||||
Show All 18 Lines |
I'd prefer to avoid using a company logo, how about fa-birthday-cake instead?