Commit bcfae2b5 authored by fred's avatar fred
Browse files

display 'no actu' if there's none

parent c13514c6
...@@ -30,6 +30,8 @@ ...@@ -30,6 +30,8 @@
<li>{{ newsitem.datetime|date:"d E o H:i"|lower }} <li>{{ newsitem.datetime|date:"d E o H:i"|lower }}
<a href="{% url 'newsitem-view' slug=newsitem.slug %}">{{ newsitem.title }}</a> <a href="{% url 'newsitem-view' slug=newsitem.slug %}">{{ newsitem.title }}</a>
</li> </li>
{% empty %}
Aucune actu.
{% endfor %} {% endfor %}
</ul> </ul>
...@@ -48,9 +50,8 @@ ...@@ -48,9 +50,8 @@
{% endfor %} {% endfor %}
</ul> </ul>
{% empty %}
Aucune actu.
{% endfor %} {% endfor %}
{% endblock %} {% 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