moviewyrm/bookwyrm/templates/notifications/items/leave.html
Hugh Rundle f13223b8ca add notifications for groups
Moved into new structure after merge.
2021-10-03 11:46:51 +11:00

20 lines
No EOL
527 B
HTML

{% extends 'notifications/items/item_layout.html' %}
{% load i18n %}
{% load utilities %}
{% block primary_link %}{% spaceless %}
{{ notification.related_group.local_path }}
{% endspaceless %}{% endblock %}
{% block icon %}
<span class="icon icon-local"></span>
{% endblock %}
{% block description %}
{% blocktrans with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
has left your group "<a href="{{ group_path }}">{{ group_name }}</a>"
{% endblocktrans %}
{% endblock %}