diff options
author | Andrew Godwin | 2022-11-05 18:00:01 -0600 |
---|---|---|
committer | Andrew Godwin | 2022-11-05 18:00:01 -0600 |
commit | fab75e097a25d4555cb1cdc43cc9346e0efa4bb3 (patch) | |
tree | b9122900a007dd98ba6bfee12265ad2d670d54e8 /templates | |
parent | e44a321ec53bc84b5986ac0371b4122201fa3a5a (diff) | |
download | takahe-fab75e097a25d4555cb1cdc43cc9346e0efa4bb3.tar.gz takahe-fab75e097a25d4555cb1cdc43cc9346e0efa4bb3.tar.bz2 takahe-fab75e097a25d4555cb1cdc43cc9346e0efa4bb3.zip |
Style the profile page a bit
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 2 | ||||
-rw-r--r-- | templates/identity/view.html | 14 |
2 files changed, 14 insertions, 2 deletions
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 @@ <menu> <li> {% if user.is_authenticated %} - {{ user.email }} + Logout {% else %} <a href="/auth/login/">Login</a> {% 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 %} - <h1>{{ identity }} <small>{{ identity.handle }}</small></h1> + <h1 class="identity"> + {% if identity.icon_uri %} + <img src="{{identity.icon_uri}}" class="icon"> + {% endif %} + {{ identity }} <small>{{ identity.handle }}</small> + </h1> + + {% if not identity.local %} + <p class="system-note"> + This user is a member of another server. + <a href="{{ identity.profile_uri }}">See their original profile</a> + </p> + {% endif %} {% for status in statuses %} {% include "statuses/_status.html" %} |