From f071e05f3af563d799ddf6b89f7ad36e891f8f71 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 28 Jul 2017 11:49:44 +0300 Subject: www: refactor templates --- juick-www/src/main/webapp/WEB-INF/views/index.html | 57 +--------------------- 1 file changed, 1 insertion(+), 56 deletions(-) (limited to 'juick-www/src/main/webapp/WEB-INF/views/index.html') diff --git a/juick-www/src/main/webapp/WEB-INF/views/index.html b/juick-www/src/main/webapp/WEB-INF/views/index.html index 5d2ee553..6bf81cac 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/index.html +++ b/juick-www/src/main/webapp/WEB-INF/views/index.html @@ -8,62 +8,7 @@ {% include "views/partial/newmessage" %} {% endif %} {% for msg in msgs %} -
-
@{{ msg.user.name }}: - -
- -
- {{ tags(msg.user.name, msg.tags | tagsList ) }} -
-
-

{{ msg | formatMessage }}

- {% if msg.AttachmentType is not empty %} -

- -

- {% endif %} - - -
+{% include "views/partial/message" %} {% endfor %} {{ next | default ('') | raw }} {% endblock %} -- cgit v1.2.3