From fab75e097a25d4555cb1cdc43cc9346e0efa4bb3 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sat, 5 Nov 2022 18:00:01 -0600 Subject: Style the profile page a bit --- templates/base.html | 2 +- templates/identity/view.html | 14 +++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index 79a5e87..4dc62ca 100644 --- a/templates/base.html +++ b/templates/base.html @@ -17,7 +17,7 @@
  • {% if user.is_authenticated %} - {{ user.email }} + Logout {% else %} Login {% endif %} diff --git a/templates/identity/view.html b/templates/identity/view.html index f0a8a02..68bb7a3 100644 --- a/templates/identity/view.html +++ b/templates/identity/view.html @@ -3,7 +3,19 @@ {% block title %}{{ identity }}{% endblock %} {% block content %} -

    {{ identity }} {{ identity.handle }}

    +

    + {% if identity.icon_uri %} + + {% endif %} + {{ identity }} {{ identity.handle }} +

    + + {% if not identity.local %} +

    + This user is a member of another server. + See their original profile +

    + {% endif %} {% for status in statuses %} {% include "statuses/_status.html" %} -- cgit v1.2.3