From 8614b5201a4dbe4b67b6ea0fc6262776cba4efa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Thu, 16 Apr 2020 13:34:00 -0500 Subject: [PATCH] organize comments section --- cl-theme/templates/comments.html | 130 ++++++++++++++++--------------- 1 file changed, 68 insertions(+), 62 deletions(-) diff --git a/cl-theme/templates/comments.html b/cl-theme/templates/comments.html index e1b0d33..92f1e6d 100644 --- a/cl-theme/templates/comments.html +++ b/cl-theme/templates/comments.html @@ -1,71 +1,11 @@ -
+
-

{{ _('Comentarios') }}

+

{{ _('Publicar un comentario en "%(title)s"', title=article.title) }}

-
- - {% if article.comments %} - {% for comment in article.comments %} - -
- -
-

- {% if comment.avatar %} - {{ _('Avatar de %(user)s', user=comment.author) }} - {% else %} - {{ _('Avatar predeterminado para %(user)s', user=comment.author) }} - {% endif %} -

-
- - - -
-
-
- {% if comment.web %} -

- - {{ comment.author }} - -

- {% else %} -

{{ comment.author }}

- {% endif %} -
-
- {{ comment.content }} -
- -
-
- -
- - {% endfor %} - {% endif %} - -
- -
-
@@ -174,3 +114,69 @@
+ +{% if article.comments %} +
+ +
+

{{ _('Comentarios') }}

+
+
+ +
+ + {% for comment in article.comments %} + +
+ +
+

+ {% if comment.avatar %} + {{ _('Avatar de %(user)s', user=comment.author) }} + {% else %} + {{ _('Avatar predeterminado para %(user)s', user=comment.author) }} + {% endif %} +

+
+ + + +
+
+
+ {% if comment.web %} +

+ + {{ comment.author }} + +

+ {% else %} +

{{ comment.author }}

+ {% endif %} +
+
+ {{ comment.content }} +
+ +
+
+ +
+ + {% endfor %} +
+
+
+{% endif %}