Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14100249
D17203.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D17203.id.diff
View Options
diff --git a/src/applications/audit/constants/PhabricatorAuditCommitStatusConstants.php b/src/applications/audit/constants/PhabricatorAuditCommitStatusConstants.php
--- a/src/applications/audit/constants/PhabricatorAuditCommitStatusConstants.php
+++ b/src/applications/audit/constants/PhabricatorAuditCommitStatusConstants.php
@@ -10,7 +10,7 @@
public static function getStatusNameMap() {
$map = array(
- self::NONE => pht('None'),
+ self::NONE => pht('No Audits'),
self::NEEDS_AUDIT => pht('Audit Required'),
self::CONCERN_RAISED => pht('Concern Raised'),
self::PARTIALLY_AUDITED => pht('Partially Audited'),
@@ -46,6 +46,9 @@
case self::FULLY_AUDITED:
$color = 'green';
break;
+ case self::NONE:
+ $color = 'bluegrey';
+ break;
default:
$color = null;
break;
@@ -56,13 +59,18 @@
public static function getStatusIcon($code) {
switch ($code) {
case self::CONCERN_RAISED:
- $icon = 'fa-exclamation-circle';
+ $icon = 'fa-times-circle';
break;
case self::NEEDS_AUDIT:
- case self::PARTIALLY_AUDITED:
$icon = 'fa-exclamation-circle';
break;
+ case self::PARTIALLY_AUDITED:
+ $icon = 'fa-check-circle-o';
+ break;
case self::FULLY_AUDITED:
+ $icon = 'fa-check-circle';
+ break;
+ case self::NONE:
$icon = 'fa-check';
break;
default:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 27, 1:40 PM (16 h, 2 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6794569
Default Alt Text
D17203.id.diff (1 KB)
Attached To
Mode
D17203: Improve commit audit status icons
Attached
Detach File
Event Timeline
Log In to Comment