2023-09-18 11:21:04 +00:00
|
|
|
{% extends 'notifications/items/layout.html' %}
|
|
|
|
|
|
|
|
{% load i18n %}
|
|
|
|
{% load utilities %}
|
|
|
|
{% load user_page_tags %}
|
|
|
|
|
|
|
|
{% block primary_link %}{% spaceless %}
|
|
|
|
{{ notification.related_object.local_path }}
|
|
|
|
{% endspaceless %}{% endblock %}
|
|
|
|
|
|
|
|
{% block icon %}
|
|
|
|
<span class="icon icon-local"></span>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block description %}
|
2023-09-25 12:05:43 +00:00
|
|
|
{% if related_user_moved_to %}
|
2024-01-17 10:06:04 +00:00
|
|
|
{% id_to_username related_user_moved_to as username %}
|
2023-11-02 00:19:57 +00:00
|
|
|
{% blocktrans trimmed %}
|
2023-10-27 11:22:58 +00:00
|
|
|
{{ related_user }} has moved to <a href="{{ related_user_moved_to }}">{{ username }}</a>
|
|
|
|
{% endblocktrans %}
|
2023-09-25 12:05:43 +00:00
|
|
|
<div class="row shrink my-2">
|
|
|
|
{% include 'snippets/move_user_buttons.html' with group=notification.related_group %}
|
|
|
|
</div>
|
|
|
|
{% else %}
|
2023-11-02 00:19:57 +00:00
|
|
|
{% blocktrans trimmed %}
|
2023-10-27 11:00:04 +00:00
|
|
|
{{ related_user }} has undone their move
|
|
|
|
{% endblocktrans %}
|
2023-09-25 12:05:43 +00:00
|
|
|
{% endif %}
|
2023-09-18 11:21:04 +00:00
|
|
|
{% endblock %}
|