2021-10-03 00:46:51 +00:00
|
|
|
{% extends 'notifications/items/item_layout.html' %}
|
|
|
|
|
|
|
|
{% load i18n %}
|
|
|
|
{% load utilities %}
|
|
|
|
|
|
|
|
{% block primary_link %}{% spaceless %}
|
2021-10-04 11:20:02 +00:00
|
|
|
{{ notification.related_group.local_path }}
|
2021-10-03 00:46:51 +00:00
|
|
|
{% endspaceless %}{% endblock %}
|
|
|
|
|
|
|
|
{% block icon %}
|
2021-10-04 11:20:02 +00:00
|
|
|
<span class="icon icon-local"></span>
|
2021-10-03 00:46:51 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block description %}
|
|
|
|
{% if notification.related_user %}
|
|
|
|
|
|
|
|
{% blocktrans with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
|
|
|
has been removed from your group "<a href="{{ group_path }}">{{ group_name }}</a>"
|
|
|
|
{% endblocktrans %}
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
|
2021-10-04 11:20:02 +00:00
|
|
|
{% blocktrans with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
|
|
|
You have been removed from the "<a href="{{ group_path }}">{{ group_name }}</a> group"
|
|
|
|
{% endblocktrans %}
|
2021-10-03 00:46:51 +00:00
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
|