Remove a layer of caching, and explicitly mention that noone is online

This commit is contained in:
Trever Fischer
2012-02-26 11:23:26 -05:00
parent 4cce2cac50
commit 8b683b321d

View File

@@ -48,12 +48,14 @@
<div id="statbox" class="header-box">
<h2 class="title">World Status</h2>
<h3>Online Players</h3>
{% cache 120 onlineList %}
<ul>
{% if onlinePlayers %}
{% for player in onlinePlayers %}
<li>{{player}}</li>
{% endfor %}
{% endcache %}
{% else %}
<li><em>Nobody...</em></li>
{% endif %}
</ul>
</div>
</div>