Check for unknown as status is no longer represented as a boolean (#780)

This commit is contained in:
Michael Treacher 2017-05-09 02:43:19 +10:00 committed by kevgliss
parent ce5a45037a
commit 767147aef1

View File

@ -117,7 +117,7 @@
class="list-group-item">
<strong>Validity</strong>
<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 == 'valid'" class="label label-success">Valid</span>
</span>