Web (Storycraft): use for ... empty
This commit is contained in:
parent
2f5bdf5d1f
commit
0866651af1
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user