Work on list articles for make it more readable

This commit is contained in:
kitoy 2025-12-22 01:16:17 +01:00
parent b47999b1b6
commit 89400555ed

View File

@ -16,10 +16,10 @@
<small> Créé le : {{ article.time }} </small> <br/> <small> Créé le : {{ article.time }} </small> <br/>
{% if article.last_updated == "private" %} {% if article.last_updated %}
<small> Modifié le : {{ article.last_updated }}</small><br/> <small> Modifié le : {{ article.last_updated }}</small><br/>
{% endif %} {% endif %}
<br/>
{% if article.status == "private" %} {% if article.status == "private" %}
<small> Status : privé </small> <small> Status : privé </small>
<small> (L'article n'est pas publié dans le blog général) </small> <small> (L'article n'est pas publié dans le blog général) </small>
@ -34,10 +34,10 @@
<small> (L'article est publié dans le blog général) </small> <small> (L'article est publié dans le blog général) </small>
{% endif %} {% endif %}
<br/> <br/>
<br/>
<a href="{{ url_for('blog.edit', title=article.title) }}"><button type="button"> Editer </button></a> <a href="{{ url_for('blog.edit', title=article.title) }}"><button type="button"> Editer </button></a>
<a href="{{ url_for('blog.delete', title=article.title) }}"><button type="button">Supprimer</button></a> <a href="{{ url_for('blog.delete', title=article.title) }}"><button type="button">Supprimer</button></a>
<a href="{{ url_for('blog.edit', title=article.title) }}"><button type="button"> Publier </button></a>
</article> </article>
{% endfor %} {% endfor %}