mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-05-19 00:38:21 +00:00
5b051631ec
* update User model to allow for moved_to and also_known_as values * allow users to add aliases (also_known_as) in UI * allow users to move account to another one (moved_to) * redirect webfinger to the new account after a move * present notification to followers inviting to follow at new account Note: unlike Mastodon we're not running any unfollow/autofollow action here: users can decide for themselves This makes undoing moves easier. TODO There is still a bug with incoming Moves, at least from Mastodon. This seems to be something to do with Update activities (rather than Move, strictly).
28 lines
879 B
HTML
28 lines
879 B
HTML
{% load i18n %}
|
|
{% load humanize %}
|
|
{% load utilities %}
|
|
{% load markdown %}
|
|
{% load layout %}
|
|
{% load group_tags %}
|
|
|
|
|
|
<div class="media block">
|
|
<div class="media-left">
|
|
<a href="{{ user.local_path }}">
|
|
{% include 'snippets/avatar.html' with user=user large=True %}
|
|
</a>
|
|
</div>
|
|
<div class="media-content">
|
|
<p>
|
|
{% if user.name %}{{ user.name }}{% else %}{{ user.localname }}{% endif %}
|
|
{% if user.manually_approves_followers %}
|
|
<span class="icon icon-lock is-size-7" title="{% trans 'Locked account' %}">
|
|
<span class="is-sr-only">{% trans "Locked account" %}</span>
|
|
</span>
|
|
{% endif %}
|
|
</p>
|
|
<p>{{ user.username }}</p>
|
|
<p>{% blocktrans with date=user.created_date|naturaltime %}Joined {{ date }}{% endblocktrans %}</p>
|
|
</div>
|
|
</div>
|