From bea9358e6a68df31cb950db6795baeb0e78e73ec Mon Sep 17 00:00:00 2001 From: Eskimon Date: Fri, 5 Jun 2015 09:26:09 +0000 Subject: [PATCH] Ameliore (un peu) l'affichage des articles --- .../article/includes/article_item.part.html | 58 +++++++++---------- 1 file changed, 28 insertions(+), 30 deletions(-) diff --git a/templates/article/includes/article_item.part.html b/templates/article/includes/article_item.part.html index 35777d8569..a12fdcc528 100644 --- a/templates/article/includes/article_item.part.html +++ b/templates/article/includes/article_item.part.html @@ -18,7 +18,7 @@ {% for author in article.authors.all %}{% if forloop.first %}{% trans "par" %}{% elif forloop.last %} {% trans "et" %}{% else %},{% endif %} {{ author.username }}{% endfor %} {% endcaptureas %} -
+
{% if article.image %} @@ -31,45 +31,43 @@

{{ article.title }}

- {% if article.description and show_description %} -

- {{ article.description }} -

- {% endif %} - +

+ {{ article.description }} +

- - {{ article.get_reaction_count }} - + {% if article.sha_public != None %} + + {{ article.get_reaction_count }} + + {% endif %} {% if article.tags.all %}