All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 51s
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>
28 lines
931 B
HTML
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 %}
|