summaryrefslogtreecommitdiffstats
path: root/templates/identity/view.html
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-05 20:10:39 -0600
committerAndrew Godwin2022-11-05 20:10:39 -0600
commit56de2362a01089c8a5ca3c6e1affcade00ffdfce (patch)
tree399028908298fcf34b05e389632ff27d5cbb58db /templates/identity/view.html
parent25b9731a6e2d5b1cea96ef059071dfd90bfd5d32 (diff)
downloadtakahe-56de2362a01089c8a5ca3c6e1affcade00ffdfce.tar.gz
takahe-56de2362a01089c8a5ca3c6e1affcade00ffdfce.tar.bz2
takahe-56de2362a01089c8a5ca3c6e1affcade00ffdfce.zip
Some user icon stuff
Diffstat (limited to 'templates/identity/view.html')
-rw-r--r--templates/identity/view.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/identity/view.html b/templates/identity/view.html
index 68bb7a3..deb7ae5 100644
--- a/templates/identity/view.html
+++ b/templates/identity/view.html
@@ -1,4 +1,5 @@
{% extends "base.html" %}
+{% load static %}
{% block title %}{{ identity }}{% endblock %}
@@ -6,6 +7,8 @@
<h1 class="identity">
{% if identity.icon_uri %}
<img src="{{identity.icon_uri}}" class="icon">
+ {% else %}
+ <img src="{% static "img/unknown-icon-128.png" %}" class="icon">
{% endif %}
{{ identity }} <small>{{ identity.handle }}</small>
</h1>