File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -98,19 +98,23 @@ <h1>{% block title %}{{ server["info"]["name"] }} {% endblock %}</h1>
9898 < tr class ="even ">
9999 < th > Gamescript:</ th >
100100 < td >
101- {% if server["info"]["gamescript_version"] and server["info"]["gamescript_version"] != GAMESCRIPT_VERSION_NONE %}
102- {{ server["info"]["gamescript_name"] }} (v{{ server["info"]["gamescript_version"] }})
103- {% else %}
101+ {% if server["info"]["gamescript_version"] is none %}
102+ Unknown
103+ {% elif server["info"]["gamescript_version"] == GAMESCRIPT_VERSION_NONE %}
104104 None
105+ {% else %}
106+ {{ server["info"]["gamescript_name"] }} (v{{ server["info"]["gamescript_version"] }})
105107 {% endif %}
106108 </ td >
107109 </ tr >
110+ {% if server["info"]["newgrfs"] is not none %}
108111 < tr class ="odd ">
109112 < th > NewGRFs in use:</ th >
110113 < td >
111114 {{ server["info"]["newgrfs"]|length }}
112115 </ td >
113116 </ tr >
117+ {% endif %}
114118 </ tbody >
115119</ table >
116120{% endblock %}
You can’t perform that action at this time.
0 commit comments