From 237739950a305b13c9f29e3ca25c2e835d563a3f Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 5 May 2017 17:42:27 +0300 Subject: User controller -> pebble --- .../webapp/WEB-INF/views/partial/usercolumn.html | 76 ++++++++++++++++++++++ .../webapp/WEB-INF/views/partial/usertags.html | 3 + 2 files changed, 79 insertions(+) create mode 100644 juick-www/src/main/webapp/WEB-INF/views/partial/usercolumn.html create mode 100644 juick-www/src/main/webapp/WEB-INF/views/partial/usertags.html (limited to 'juick-www/src/main/webapp/WEB-INF/views/partial') diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/usercolumn.html b/juick-www/src/main/webapp/WEB-INF/views/partial/usercolumn.html new file mode 100644 index 00000000..7e3b8a64 --- /dev/null +++ b/juick-www/src/main/webapp/WEB-INF/views/partial/usercolumn.html @@ -0,0 +1,76 @@ +
+ {{ user.name }}
+{% if visitor is not empty and visitor.uid > 0 and visitor.uid != user.uid %} + +{% else %} +
+{% endif %} + +
+
+

+
+{% include "views/partial/usertags" %} +
+
+ + {% if iread is not empty %} +
+ {% for u in iread %} + + + {{ u.name }} + + + {% endfor %} +
+ {% endif %} + +
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/usertags.html b/juick-www/src/main/webapp/WEB-INF/views/partial/usertags.html new file mode 100644 index 00000000..78e1416e --- /dev/null +++ b/juick-www/src/main/webapp/WEB-INF/views/partial/usertags.html @@ -0,0 +1,3 @@ +{% import "views/macros/tags" %} +{{ tags(uname=user.name, tagsStats) }} +... \ No newline at end of file -- cgit v1.2.3