From fb6c409a9af5b8a686e977ee2251c359071e0ec3 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sun, 6 Nov 2022 21:30:07 -0700 Subject: Rework task system and fetching. I can taste how close follow is to working. --- templates/identity/view.html | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'templates/identity/view.html') diff --git a/templates/identity/view.html b/templates/identity/view.html index ffb76db..d82543e 100644 --- a/templates/identity/view.html +++ b/templates/identity/view.html @@ -10,11 +10,11 @@ {% else %} {% endif %} - {{ identity }} @{{ identity.handle }} + {{ identity.name_or_handle }} @{{ identity.handle }} {% if not identity.local %} - {% if not identity.actor_uri %} + {% if identity.outdated and not identity.name %}

The system is still fetching this profile. Refresh to see updates.

@@ -26,6 +26,19 @@ {% endif %} {% endif %} + {% if request.identity %} +
+ {% csrf_token %} + {% if follow %} + + + {% else %} + + + {% endif %} +
+ {% endif %} + {% for status in statuses %} {% include "statuses/_status.html" %} {% empty %} -- cgit v1.2.3