From bb80d988d73958c822028e04e900185fb4ef2412 Mon Sep 17 00:00:00 2001 From: Anand Chitipothu Date: Thu, 6 May 2021 20:43:04 +0530 Subject: [PATCH] refactor: using SketchTeaser widget to show sketch in the profile page --- community/www/profiles/profile.html | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/community/www/profiles/profile.html b/community/www/profiles/profile.html index a6969dd5..ce04294d 100644 --- a/community/www/profiles/profile.html +++ b/community/www/profiles/profile.html @@ -108,30 +108,16 @@
- {% if sketches %} + {% if sketches %} {% for sketch in sketches %}
-
- - -
+ {{ widgets.SketchTeaser(sketch=sketch) }}
{% endfor %} - {% endif %} + {% endif %}
{% if not sketches %} -

{{member.full_name}} has not created any skecth yet.

+

{{member.full_name}} has not created any skecth yet.

{% endif %}