From 68c156fd2758da5831bd83bfb1249dd014d78177 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sun, 13 Nov 2022 16:41:48 -0700 Subject: Profile view improvements --- templates/identity/view.html | 47 ++++++++++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 19 deletions(-) (limited to 'templates/identity') diff --git a/templates/identity/view.html b/templates/identity/view.html index 916bee2..e4118c9 100644 --- a/templates/identity/view.html +++ b/templates/identity/view.html @@ -4,12 +4,30 @@ {% block title %}{{ identity }}{% endblock %} {% block content %} + +

{% if identity.icon_uri %} {% else %} {% endif %} + + {% if request.identity %} +
+ {% csrf_token %} + {% if follow %} + + + {% else %} + + + {% endif %} +
+ {% endif %} + {{ identity.name_or_handle }} @{{ identity.handle }}

@@ -21,27 +39,18 @@ {% else %}

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

{% endif %} {% endif %} - {% if request.identity %} -
- {% csrf_token %} - {% if follow %} - - - {% else %} - - - {% endif %} -
- {% endif %} - - {% for post in posts %} - {% include "activities/_post.html" %} - {% empty %} - No posts yet. - {% endfor %} +
+
+ {% for post in posts %} + {% include "activities/_post.html" %} + {% empty %} + No posts yet. + {% endfor %} +
+
{% endblock %} -- cgit v1.2.3