Web (Storycraft): use for ... empty

This commit is contained in:
Brian S. Stephan 2011-02-20 18:05:47 -06:00
parent 2f5bdf5d1f
commit 0866651af1
1 changed files with 2 additions and 4 deletions

View File

@ -34,13 +34,11 @@
<h1>Storycraft</h1>
</div>
<div id="gamelist">
{% if games %}
{% for game in games %}
{% include 'storycraft/tmpl_game_summary.html' %}
{% endfor %}
{% else %}
{% empty %}
<p>No storycraft games. :(</p>
{% endif %}
{% endfor %}
</div>
</div>
</div>