Correction de la page d'accueil : Affichage d'un message si aucun jeu

Notamment dans la liste complète des jeux.
This commit is contained in:
2017-08-31 16:52:31 +02:00
parent be6b7bfc99
commit 88ceb57a09
3 changed files with 14 additions and 6 deletions

View File

@ -15,11 +15,15 @@
<p>{% trans "No playing game found." %}</p>
{% endif %}
<h2>{% trans "Complete list" %}</h2>
{% if non_excluded_games %}
<ul>
{% for game in non_excluded_games %}
<li>{{ game.name }}</li>
{% endfor %}
</ul>
{% else %}
<p>{% trans "No game found." %}</p>
{% endif %}
<h2>{% trans "Memory Card" %}</h2>
{% if last_timelines %}
<ul>
@ -33,4 +37,4 @@
{% else %}
<p>{% trans "Empty memory." %}</p>
{% endif %}
{% endblock %}
{% endblock %}