mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-05-19 00:38:21 +00:00
b05f2e99e8
also cleans up some templates
25 lines
769 B
HTML
25 lines
769 B
HTML
{% 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 %}
|
|
{% if related_user_moved_to %}
|
|
{{ related_user }} {% trans "has moved to" %} <a href="{{ related_user_moved_to }}">{% id_to_username related_user_moved_to %}</a>
|
|
<div class="row shrink my-2">
|
|
{% include 'snippets/move_user_buttons.html' with group=notification.related_group %}
|
|
</div>
|
|
{% else %}
|
|
{{ related_user }} {% trans "has undone their move" %}
|
|
{% endif %}
|
|
{% endblock %}
|