aboutsummaryrefslogtreecommitdiff
path: root/util/master/servers.jst
diff options
context:
space:
mode:
Diffstat (limited to 'util/master/servers.jst')
-rw-r--r--util/master/servers.jst4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/master/servers.jst b/util/master/servers.jst
index 54eea2842..586e439cf 100644
--- a/util/master/servers.jst
+++ b/util/master/servers.jst
@@ -1,7 +1,7 @@
{{? !master.no_total}}
<div class="total">
- Players: {{=it.total.clients}}/{{=it.total_max.clients}}&nbsp;
- Servers: {{=it.total.servers}}/{{=it.total_max.servers}}
+ {{it.total_max && it.total_max.clients > 0}}Players: {{=it.total.clients}}/{{=it.total_max.clients}}&nbsp;{{?}}
+ {{it.total_max && it.total_max.servers > 0}}Servers: {{=it.total.servers}}/{{=it.total_max.servers}}{{?}}
</div>
{{?}}
<table>