Page MenuHomePhabricator

D17203.id.diff
No OneTemporary

D17203.id.diff

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

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)

Event Timeline