allow stats to run smoothly on ancient Pg 8.4

This commit is contained in:
Oliver Gorwits
2019-06-12 11:51:20 +01:00
parent 0f1c264e41
commit 039527c26a
2 changed files with 6 additions and 3 deletions

View File

@@ -17,9 +17,11 @@
of which [% stats.device_port_up_count | format_number %] are up
</th>
</tr>
[% IF stats.device_link_count %]
<tr>
<th>[% stats.device_link_count| format_number %] layer 2 links between devices</th>
</tr>
[% END %]
<tr>
<th>[% stats.node_table_count | format_number %] nodes logged, of which [% stats.node_active_count | format_number %] are active</th>
</tr>