1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

track private slots for webfront overview

This commit is contained in:
RaidMax
2023-04-05 23:10:40 -05:00
parent 831a6a2a37
commit f32949083f
7 changed files with 20 additions and 7 deletions

View File

@ -65,7 +65,7 @@
</div>
}
<div class="mr-5 ml-5 align-self-center">
<span class="server-clientcount">@Model.ClientCount</span>/<span class="server-maxclients">@Model.MaxClients</span>
<span class="server-clientcount">@Model.ClientCount</span>/<span class="server-maxclients">@(Model.MaxClients - Model.PrivateClientSlots)@(Model.PrivateClientSlots > 0 ? $" ({Model.MaxClients})": "")</span>
</div>
</div>
</div>