Add yellow circle to certificate nav menu if expiring

This commit is contained in:
Marcus Hill
2023-01-01 14:12:44 +00:00
parent 807d374b90
commit 93773a6ca3
2 changed files with 16 additions and 1 deletions

View File

@@ -108,10 +108,15 @@
<i class="nav-icon fas fa-lock"></i>
<p>
Certificates
<?php
if($num_certificates > 0){ ?>
<span class="right badge badge-light"><?php echo $num_certificates; ?></span>
<?php } ?>
<?php if($num_certs_expiring > 0){ ?>
<span class="right fa fa-fw fa-circle text-warning"></span>
<?php } ?>
</p>
</a>
</li>