Certificates - Better empty date handling in agent ui
This commit is contained in:
@@ -249,8 +249,10 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
|||||||
<td><?php echo $certificate_issued_by; ?></td>
|
<td><?php echo $certificate_issued_by; ?></td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<div><?php echo $certificate_expire; ?></div>
|
<div><?php echo $certificate_expire ?: '-'; ?></div>
|
||||||
|
<?php if (!empty($certificate_expire)) { ?>
|
||||||
<div><small><?php echo $certificate_expire_ago; ?></small></div>
|
<div><small><?php echo $certificate_expire_ago; ?></small></div>
|
||||||
|
<?php } ?>
|
||||||
</td>
|
</td>
|
||||||
<?php if (!$client_url) { ?>
|
<?php if (!$client_url) { ?>
|
||||||
<td><a href="certificates.php?client_id=<?php echo $client_id; ?>"><?php echo $client_name; ?></a></td>
|
<td><a href="certificates.php?client_id=<?php echo $client_id; ?>"><?php echo $client_name; ?></a></td>
|
||||||
|
|||||||
Reference in New Issue
Block a user