diff options
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 7 |
1 files changed, 5 insertions, 2 deletions
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 <img src="{% static "img/unknown-icon-128.png" %}" title="No identity selected"> + {% elif request.identity.icon %} + {{ request.identity.username }} + <img src="{{ request.identity.icon.url }}" title="{{ request.identity.handle }}"> {% elif request.identity.icon_uri %} - {{ request.identity.username }} <small>@{{ request.identity.domain_id }}</small> + {{ request.identity.username }} <img src="{{ request.identity.icon_uri }}" title="{{ request.identity.handle }}"> {% else %} - {{ request.identity.username }} <small>@{{ request.identity.domain_id }}</small> + {{ request.identity.username }} <img src="{% static "img/unknown-icon-128.png" %}" title="{{ request.identity.handle }}"> {% endif %} </a> |