mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-05-31 22:58:18 +00:00
c95f160216
- minor template fixes - notification logic fixes - don't dedupe on moved_to or also_known_as - add migration
13 lines
557 B
HTML
13 lines
557 B
HTML
{% load i18n %}
|
|
{% load utilities %}
|
|
|
|
|
|
{% if related_user_moved_to|user_from_remote_id not in request.user.following.all %}
|
|
<div class="field is-grouped">
|
|
<form action="{% url 'follow' %}" method="POST" class="interaction follow_{{ related_users.0.id }}" data-id="follow_{{ related_users.0.id }}">
|
|
{% csrf_token %}
|
|
<input type="hidden" name="user" value="{% id_to_username related_user_moved_to %}">
|
|
<button class="button is-link is-small" type="submit">{% trans "Follow at new account" %}</button>
|
|
</form>
|
|
</div>
|
|
{% endif %} |