mirror of
https://github.com/YGGverse/HLState.git
synced 2026-03-31 17:15:39 +00:00
show real connections in players count
This commit is contained in:
parent
13292efe29
commit
becb46d1bc
4 changed files with 20 additions and 6 deletions
|
|
@ -70,8 +70,17 @@
|
|||
<table>
|
||||
{% for key, value in server.info %}
|
||||
<tr>
|
||||
<td class="text-align-left">{{ key }}</td>
|
||||
<td class="text-align-left">{{ value }}</td>
|
||||
<td class="text-align-left">
|
||||
{{ key }}
|
||||
</td>
|
||||
<td class="text-align-left">
|
||||
{# let's show real connections for players {{ value }} #}
|
||||
{% if key == 'Players' %}
|
||||
{{ server.connections }}
|
||||
{% else %}
|
||||
{{ value }}
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue