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/blog.html | 57 +---------------------- 1 file changed, 1 insertion(+), 56 deletions(-) (limited to 'juick-www/src/main/webapp/WEB-INF/views/blog.html') diff --git a/juick-www/src/main/webapp/WEB-INF/views/blog.html b/juick-www/src/main/webapp/WEB-INF/views/blog.html index 3b4bf6c4..8d241c82 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/blog.html +++ b/juick-www/src/main/webapp/WEB-INF/views/blog.html @@ -8,62 +8,7 @@

← Все записи с тегом {{ paramTag.name | escape }}

{% 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 %} {% if (next | default('')) is not empty %} {{ next | raw }} -- cgit v1.2.3