Page MenuHomestyx hydra

No OneTemporary

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 @@
<?php
final class PhabricatorFlagColor extends PhabricatorFlagConstants {
const COLOR_RED = 0;
const COLOR_ORANGE = 1;
const COLOR_YELLOW = 2;
const COLOR_GREEN = 3;
const COLOR_BLUE = 4;
const COLOR_PINK = 5;
const COLOR_PURPLE = 6;
const COLOR_CHECKERED = 7;
public static function getColorNameMap() {
return array(
self::COLOR_RED => 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);
}
}

File Metadata

Mime Type
text/x-diff
Expires
Tue, Jul 29, 7:11 AM (2 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
188261
Default Alt Text
(1 KB)

Event Timeline