This repository has been archived on 2026-02-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
federation/templates/federation/account.html
giles b2b853c052
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 51s
Fix actors.profile → activitypub.actor_profile endpoint references
The AP blueprint was consolidated but 4 references to the old
'actors.profile' endpoint remained, causing BuildError on social pages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 12:46:04 +00:00

28 lines
931 B
HTML

{% extends "_types/social/index.html" %}
{% block title %}Account — Rose Ash{% endblock %}
{% block social_content %}
<div class="py-8">
<h1 class="text-2xl font-bold mb-4">Account</h1>
<div class="bg-white rounded-lg shadow p-6 mb-6">
<p><strong>Email:</strong> {{ g.user.email }}</p>
{% if actor %}
<p class="mt-2"><strong>Username:</strong> @{{ actor.preferred_username }}</p>
<p class="mt-1">
<a href="{{ url_for('activitypub.actor_profile', username=actor.preferred_username) }}"
class="text-blue-600 hover:underline">
View profile
</a>
</p>
{% else %}
<p class="mt-4">
<a href="{{ url_for('identity.choose_username_form') }}"
class="bg-stone-800 text-white py-2 px-4 rounded hover:bg-stone-700 transition">
Choose a username to start publishing
</a>
</p>
{% endif %}
</div>
</div>
{% endblock %}