mirror of
https://github.com/jointakahe/takahe.git
synced 2024-12-18 03:26:29 +00:00
33 lines
1.5 KiB
HTML
33 lines
1.5 KiB
HTML
{% extends "emails/base.html" %}
|
|
{% load mail_tags %}
|
|
{% autoescape off %}
|
|
{% block title %}{{ config.site_name }} - New Moderation Report{% endblock title %}
|
|
{% block subtitle %}{{ config.site_name }} - New Moderation Report{% endblock subtitle %}
|
|
|
|
{% block body_greeting %}
|
|
{% email_body_content "Moderation Team," %}
|
|
{% email_body_content "A new report has been recieved for {{ config.site_name }}." %}
|
|
{% endblock body_greeting %}
|
|
|
|
{% block body_content %}
|
|
{% email_body_content "=============== Report Summary ===============" %}
|
|
|
|
{% if report.source_identity %}
|
|
{% email_body_content "Reporter Identity: {{ report.source_identity }} @ {{ report.source_domain }}" %}
|
|
{% else %}
|
|
{% email_body_content "Reporter Identity: Anonymous Report from {{ report.source_domain }}" %}
|
|
{% endif %}
|
|
|
|
{% email_body_content "Reported Identity: {{ report.subject_identity }}" %}
|
|
{% email_body_content "Complaint Type: {{ report.type }}" %}
|
|
{% email_body_content "Complaint Notes: {{ report.complaint }}" %}
|
|
{% endblock body_content %}
|
|
|
|
{% block body_button %}
|
|
{% email_button button_text="View Report" button_link="https://{{ settings.MAIN_DOMAIN }}/admin/reports/{{ report.id }}/" %}
|
|
{% endblock body_button %}
|
|
|
|
{% block extra_footer %}
|
|
{% email_footer "You are recieving this email because you are a moderator on the Takahe instance https://{{ settings.MAIN_DOMAIN }}" %}
|
|
{% endblock extra_footer %}
|
|
{% endautoescape %}
|