Check for unknown as status is no longer represented as a boolean (#780)
This commit is contained in:
parent
ce5a45037a
commit
767147aef1
|
@ -117,7 +117,7 @@
|
||||||
class="list-group-item">
|
class="list-group-item">
|
||||||
<strong>Validity</strong>
|
<strong>Validity</strong>
|
||||||
<span class="pull-right">
|
<span class="pull-right">
|
||||||
<span ng-if="!certificate.status" class="label label-warning">Unknown</span>
|
<span ng-if="certificate.status == 'unknown'" class="label label-warning">Unknown</span>
|
||||||
<span ng-if="certificate.status == 'revoked'" class="label label-danger">Revoked</span>
|
<span ng-if="certificate.status == 'revoked'" class="label label-danger">Revoked</span>
|
||||||
<span ng-if="certificate.status == 'valid'" class="label label-success">Valid</span>
|
<span ng-if="certificate.status == 'valid'" class="label label-success">Valid</span>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in New Issue