Commit 57f5a138 authored by fred's avatar fred

templates: display newitems in a block

parent 03863ed8
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
<a class="button actually-not-that-friendly" rel="popup" href="{% url 'newsitem-delete' slug=object.slug %}">Supprimer</a> <a class="button actually-not-that-friendly" rel="popup" href="{% url 'newsitem-delete' slug=object.slug %}">Supprimer</a>
</p> </p>
<div class="bo-block">
{% if object.image %} {% if object.image %}
<div class="image"> <div class="image">
<img src="{{ object.image.url }}"/> <img src="{{ object.image.url }}"/>
...@@ -41,6 +42,7 @@ Tags : ...@@ -41,6 +42,7 @@ Tags :
{% endfor %} {% endfor %}
</p> </p>
{% endif %} {% endif %}
</div>
{% 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