syntax and html errors

This commit is contained in:
nonmakina 2021-01-19 21:10:29 -06:00
parent 36cf6f4174
commit 662e488943
2 changed files with 4 additions and 3 deletions

View File

@ -40,7 +40,7 @@
<tbody>
<tr>
<td class="minimal">
<span>{% trans Total %}</span>
<span>{% trans "Total" %}</span>
</td>
<td class="minimal">
<span>{{ stats.pph }}</span>
@ -56,7 +56,8 @@
</td>
<td class="minimal">
<span>{{ boardStat.pph }}</span>
</td class="minimal">
</td>
<td class="minimal">
<span>{{ boardStat.recent_ips }}</span>
</td>
</tr>

View File

@ -136,7 +136,7 @@
}
$stats['recent_ips'] = count($unique);
$stats['pph'] = count(array_column($stats['board'], 'pph'));
$stats['pph'] = count(array_column($stats['boards'], 'pph'));
return $stats;
}