{% if recipient == 'manager' %}
{{- _('Dear group manager,') | wordwrap -}}
{% elif recipient == 'maintainer' %}
{{- _('Dear maintainer,') | wordwrap -}}
{% else %}
{{- _('Dear user,') | wordwrap -}}
{% endif %}

{{ _('filter "%(filter_name)s" of group "%(group_id)s" was just updated in %(app_name)s by %(author)s. Here is the difference:', filter_name = _filter.name, app_name = hawat_appname, group_id = _filter.group.name, author = author) | wordwrap }}

{{ diff | wordwrap(width=75, break_long_words=False) | indent(width=4, first=True) }}

{% if filter_was_deleted %}
{{ _('Details of the changelog can be found here:') | wordwrap }}

  {{ url_for('changelogs.show', _external = True, item_id = chlog.id ) }}
{% else %}
{{ _('Details of the filter can be found here:') | wordwrap }}

  {{ url_for('filters.show', _external = True, item_id = _filter.id ) }}
{% endif %}
{{ _('Have a nice day') | wordwrap }}

-- {{ hawat_appname }}
