From 91452a43ff2aafa767fba0093f7c8432fe0dc394 Mon Sep 17 00:00:00 2001 From: gzbender Date: Wed, 1 Aug 2018 19:52:58 +0500 Subject: [PATCH] Lil 606 --- apps/user/templates/user/author_profile.html | 87 ++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 apps/user/templates/user/author_profile.html diff --git a/apps/user/templates/user/author_profile.html b/apps/user/templates/user/author_profile.html new file mode 100644 index 00000000..da09c579 --- /dev/null +++ b/apps/user/templates/user/author_profile.html @@ -0,0 +1,87 @@ +{% extends "templates/lilcity/index.html" %} {% load static %} {% load thumbnail %} {% block content %} +
+
+
+
+ {% thumbnail user.photo "120x120" crop="center" as im %} + + {% empty %} + + {% endthumbnail %} +
+
+
{{ user.get_full_name }}
+ +
+
+ {% if user.about %} + {{ user.about }} + {% endif %} +
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+ {% if published.exists %} + {% include "course/course_items.html" with course_items=published %} + {% else %} +
+
+
Нет опубликованных курсов!
+
+
+ {% endif %} +
+
+
+
+
+
+
+{% endblock content %}