From 7eecc9b3ee32a51c0344cced1a28e3a24cdf3d99 Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Thu, 4 Dec 2014 23:20:24 -0500 Subject: update show.html template --- templates/news/show.html | 88 +++++++++++++++++++++++++++--------------------- 1 file changed, 50 insertions(+), 38 deletions(-) (limited to 'templates') diff --git a/templates/news/show.html b/templates/news/show.html index 4084450..54a8645 100644 --- a/templates/news/show.html +++ b/templates/news/show.html @@ -1,42 +1,54 @@ {% extends 'layout.html' %} {% block content %} -
-

Détails

-
- -
-

{{news.title}}

- -
-{{news.content_cache|safe}} -
- -
-

Commentaires

-{% if not comments %} -Pas de commentaires pour l'instant. -{% endif %} -{% for comment in comments %} -

- Posté par {{comment.user_name}} le {{comment.date|format_date}} -

-
-{{comment.content_cache|safe}} -
-{% endfor %} - -

Ajouter un commentaire

- -
- - -

-
-
+ +
+
+

{{news.title}}

+

+ {{news.content_cache|safe}} +

+
+ +

Commentaires

+ {% if not comments %} + Pas de commentaires pour l'instant. + {% endif %} + {% for comment in comments %} +
+ + pomme + +
+

{{comment.date|format_date}}

+ {{comment.user_name}}

+ {{comment.content_cache|safe}} +
+
+ {% endfor %} + + +

Ajouter un commentaire

+ + +
+ +
+ + +
+ +
+
+
Détails
+
+ +
+
+
+ {% endblock %} -- cgit v1.2.3-70-g09d2