From f5eafb0ca0af3ed064202abbe99bfbeef8bbb74d Mon Sep 17 00:00:00 2001
From: Andrew Godwin
Date: Thu, 17 Nov 2022 08:21:42 -0700
Subject: Add image/icon upload
---
templates/base.html | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
(limited to 'templates/base.html')
diff --git a/templates/base.html b/templates/base.html
index bce5e1b..616d5b6 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -44,11 +44,14 @@
{% if not request.identity %}
No Identity
+ {% elif request.identity.icon %}
+ {{ request.identity.username }}
+
{% elif request.identity.icon_uri %}
- {{ request.identity.username }} @{{ request.identity.domain_id }}
+ {{ request.identity.username }}
{% else %}
- {{ request.identity.username }} @{{ request.identity.domain_id }}
+ {{ request.identity.username }}
{% endif %}
--
cgit v1.2.3