Commit bcfae2b5 authored by fred's avatar fred

display 'no actu' if there's none

parent c13514c6
......@@ -30,6 +30,8 @@
<li>{{ newsitem.datetime|date:"d E o H:i"|lower }}
<a href="{% url 'newsitem-view' slug=newsitem.slug %}">{{ newsitem.title }}</a>
</li>
{% empty %}
Aucune actu.
{% endfor %}
</ul>
......@@ -48,9 +50,8 @@
{% endfor %}
</ul>
{% empty %}
Aucune actu.
{% endfor %}
{% endblock %}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment