diff --git a/webclient/templates/server_entry.html b/webclient/templates/server_entry.html index de4f30b..25ad506 100644 --- a/webclient/templates/server_entry.html +++ b/webclient/templates/server_entry.html @@ -98,19 +98,23 @@

{% block title %}{{ server["info"]["name"] }} {% endblock %}

Gamescript: - {% if server["info"]["gamescript_version"] and server["info"]["gamescript_version"] != GAMESCRIPT_VERSION_NONE %} - {{ server["info"]["gamescript_name"] }} (v{{ server["info"]["gamescript_version"] }}) - {% else %} + {% if server["info"]["gamescript_version"] is none %} + Unknown + {% elif server["info"]["gamescript_version"] == GAMESCRIPT_VERSION_NONE %} None + {% else %} + {{ server["info"]["gamescript_name"] }} (v{{ server["info"]["gamescript_version"] }}) {% endif %} + {% if server["info"]["newgrfs"] is not none %} NewGRFs in use: {{ server["info"]["newgrfs"]|length }} + {% endif %} {% endblock %}