diff --git a/src/applications/flag/constants/PhabricatorFlagColor.php b/src/applications/flag/constants/PhabricatorFlagColor.php index 03de39887c..a5b10292b7 100644 --- a/src/applications/flag/constants/PhabricatorFlagColor.php +++ b/src/applications/flag/constants/PhabricatorFlagColor.php @@ -1,49 +1,49 @@ pht('Red'), self::COLOR_ORANGE => pht('Orange'), self::COLOR_YELLOW => pht('Yellow'), self::COLOR_GREEN => pht('Green'), self::COLOR_BLUE => pht('Blue'), self::COLOR_PINK => pht('Pink'), self::COLOR_PURPLE => pht('Purple'), self::COLOR_CHECKERED => pht('Checkered'), ); } public static function getColorName($color) { return idx(self::getColorNameMap(), $color, pht('Unknown')); } public static function getCSSClass($color) { return 'phabricator-flag-color-'.(int)$color; } public static function getIcon($color) { $map = array( self::COLOR_RED => 'fa-flag red', self::COLOR_ORANGE => 'fa-flag orange', self::COLOR_YELLOW => 'fa-flag yellow', self::COLOR_GREEN => 'fa-flag green', self::COLOR_BLUE => 'fa-flag blue', self::COLOR_PINK => 'fa-flag indigo', // whhaaaa - self::COLOR_PURPLE => 'fa-flag purple', + self::COLOR_PURPLE => 'fa-flag violet', self::COLOR_CHECKERED => 'fa-flag-checkered', ); return idx($map, $color); } }