Page d'accueil : ajout des activités récentes sur les jeux vidéos
This commit is contained in:
@ -5,14 +5,14 @@
|
||||
<h1>{% trans "Games" %}</h1>
|
||||
<h2>{% trans "Now playing" %}</h2>
|
||||
{% if playing_games %}
|
||||
<ul>
|
||||
{% for playing in playing_games%}
|
||||
<li>{{ playing.name }}</li>
|
||||
{% endfor %}
|
||||
<ul>
|
||||
{% for playing in playing_games %}
|
||||
<li>{{ playing.name }}</li>
|
||||
{% endfor %}
|
||||
|
||||
</ul>
|
||||
</ul>
|
||||
{% else %}
|
||||
<p>{% trans "No playing game found." %}</p>
|
||||
<p>{% trans "No playing game found." %}</p>
|
||||
{% endif %}
|
||||
<h2>{% trans "Complete list" %}</h2>
|
||||
<ul>
|
||||
@ -20,4 +20,17 @@
|
||||
<li>{{ game.name }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<h2>{% trans "Memory Card" %}</h2>
|
||||
{% if last_timelines %}
|
||||
<ul>
|
||||
{% for timeline in last_timelines %}
|
||||
<li>{{ timeline.date|date:"SHORT_DATE_FORMAT" }} -
|
||||
<strong>{{ timeline.get_status_display }} :</strong> {{ timeline.item.name }}
|
||||
({{ timeline.item.collection.name }})
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<p>{% trans "Empty memory." %}</p>
|
||||
{% endif %}
|
||||
{% endblock %}
|
Reference in New Issue
Block a user