|
|
@@ -580,7 +580,7 @@ class Test extends Model {
|
|
|
* @return string Bootstrap class name
|
|
|
*/
|
|
|
public function getPassClass(): string {
|
|
|
- if($this->isVoid()) return "muted";
|
|
|
+ if($this->isVoid() || $this->isPrimaryVoid()) return "muted";
|
|
|
if($this->pass === null) return "secondary";
|
|
|
return $this->pass ? "success" : "danger";
|
|
|
}
|
|
|
@@ -589,7 +589,7 @@ class Test extends Model {
|
|
|
* @return string FA icon name without prefix
|
|
|
*/
|
|
|
public function getPassIcon(): string {
|
|
|
- if($this->isVoid()) return "minus-circle";
|
|
|
+ if($this->isVoid() || $this->isPrimaryVoid()) return "minus-circle";
|
|
|
if($this->pass === null) return "clock";
|
|
|
return $this->pass ? "check-circle" : "times-circle";
|
|
|
}
|