From bd6d69a83b10d33e8f22cf76df89a0d0f6599259 Mon Sep 17 00:00:00 2001 From: Socks Date: Mon, 26 Mar 2018 17:28:52 +0100 Subject: [PATCH] Don't try to show profile picture on profiles if there is none for account --- templates/profile.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/profile.html b/templates/profile.html index f67e70f..2b0495f 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -21,7 +21,9 @@
- + {% if user.profile.profile_pic %} + + {% endif %}

{{ user.displayname }}' Profile

{% if following %}
{% else %}
{% endif %}