From f5a87d2b7072426cfe36527db1270e5f85b73e01 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 28 Jul 2017 14:21:01 +0300 Subject: user thread is on pebble now --- .../main/webapp/WEB-INF/views/partial/message.html | 6 ++- .../webapp/WEB-INF/views/partial/thread_list.html | 44 ++++++++++++++++++++++ .../webapp/WEB-INF/views/partial/thread_tree.html | 2 + 3 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 juick-www/src/main/webapp/WEB-INF/views/partial/thread_list.html create mode 100644 juick-www/src/main/webapp/WEB-INF/views/partial/thread_tree.html (limited to 'juick-www/src/main/webapp/WEB-INF/views/partial') diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/message.html b/juick-www/src/main/webapp/WEB-INF/views/partial/message.html index cdfad6b6..f67362ce 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/message.html +++ b/juick-www/src/main/webapp/WEB-INF/views/partial/message.html @@ -1,7 +1,9 @@
-
@{{ msg.user.name }}: +
+ @{{ msg.user.name }}: + {{ msg.user.name }} +
+ + +{% endfor %} \ No newline at end of file diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/thread_tree.html b/juick-www/src/main/webapp/WEB-INF/views/partial/thread_tree.html new file mode 100644 index 00000000..f207b8e0 --- /dev/null +++ b/juick-www/src/main/webapp/WEB-INF/views/partial/thread_tree.html @@ -0,0 +1,2 @@ +{% import "views/macros/tree" %} +{{ tree(replies, visitor, 0, 0, false) }} \ No newline at end of file -- cgit v1.2.3