Commit b968eece authored by Thomas Bella's avatar Thomas Bella

Fix singular/plural on overview

parent 66d9b46c
Pipeline #610 passed with stage
in 16 seconds
......@@ -66,13 +66,13 @@ foreach ($records as $row) {
<td><?php if (is_null($row["last_check"]) && empty($row["error"])) { ?><i class="fa fa-spinner fa-spin fa-fw"></i> Fetching ...<?php } else { ?><i class="fa fa-fw fa-question-circle" aria-hidden="true"></i> Unknown<?php } ?></td>
<?php } ?>
<?php if ($row['trusted'] == 0 && !empty($row["expire"])) { ?>
<td data-sort="0"><span data-toggle="tooltip" data-placement="bottom" title="<?php echo $expireDate; ?>"><?php echo $remainingDays; ?> days</span></td>
<td data-sort="0"><span data-toggle="tooltip" data-placement="bottom" title="<?php echo $expireDate; ?>"><?php echo $remainingDays; ?> day<?php if ($remainingDays != 1) { echo 's'; } ?></span></td>
<?php } else if ($row["expire"] != 0 && $row["expire"] != null) { ?>
<td data-sort="<?php echo $remainingDays; ?>"><span data-toggle="tooltip" data-placement="bottom" title="<?php echo $expireDate; ?>"><?php echo $remainingDays; ?> days</span></td>
<td data-sort="<?php echo $remainingDays; ?>"><span data-toggle="tooltip" data-placement="bottom" title="<?php echo $expireDate; ?>"><?php echo $remainingDays; ?> day<?php if ($remainingDays != 1) { echo 's'; } ?></span></td>
<?php } else { ?>
<td data-sort="-1000">-</td>
<?php } ?>
<td data-sort="<?php echo $domainCount; ?>"><span data-toggle="tooltip" data-placement="bottom" title="<?php echo $domainList; ?>"><?php echo $domainCount; ?> domains</span></td>
<td data-sort="<?php echo $domainCount; ?>"><span data-toggle="tooltip" data-placement="bottom" title="<?php echo $domainList; ?>"><?php echo $domainCount; ?> domain<?php if ($domainCount != 1) { echo 's'; } ?></span></td>
</tr>
<?php
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment