From: Ant Zucaro Date: Tue, 23 Apr 2013 02:40:50 +0000 (-0400) Subject: Show server port, if available. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=56b928c935f3114a3d9c12c2f97c15d45b0f293e;p=xonotic%2Fxonstat.git Show server port, if available. --- diff --git a/xonstat/templates/server_info.mako b/xonstat/templates/server_info.mako index 5f54070..f103045 100644 --- a/xonstat/templates/server_info.mako +++ b/xonstat/templates/server_info.mako @@ -24,7 +24,13 @@ Server Information

${server.name}

- IP Address: ${server.ip_addr}
+ IP Address: + % if server.port is not None: + ${server.ip_addr}:${server.port} + % else: + ${server.ip_addr} + % endif +
Revision: ${server.revision}
Added ${server.fuzzy_date()}