2022-01-11 18:47:55 +00:00
|
|
|
{% extends 'notifications/items/layout.html' %}
|
2021-10-22 09:23:45 +00:00
|
|
|
|
|
|
|
{% 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 %}
|
|
|
|
{% if notification.notification_type == 'GROUP_PRIVACY' %}
|
2021-10-23 13:59:06 +00:00
|
|
|
{% blocktrans trimmed with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
2021-10-22 09:23:45 +00:00
|
|
|
has changed the privacy level for <a href="{{ group_path }}">{{ group_name }}</a>
|
|
|
|
{% endblocktrans %}
|
|
|
|
{% elif notification.notification_type == 'GROUP_NAME' %}
|
2021-10-23 13:59:06 +00:00
|
|
|
{% blocktrans trimmed with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
2021-10-22 09:23:45 +00:00
|
|
|
has changed the name of <a href="{{ group_path }}">{{ group_name }}</a>
|
|
|
|
{% endblocktrans %}
|
2021-10-22 10:15:48 +00:00
|
|
|
{% else %}
|
2021-10-23 13:59:06 +00:00
|
|
|
{% blocktrans trimmed with group_name=notification.related_group.name group_path=notification.related_group.local_path %}
|
2021-10-22 09:23:45 +00:00
|
|
|
has changed the description of <a href="{{ group_path }}">{{ group_name }}</a>
|
|
|
|
{% endblocktrans %}
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|