takahe/templates/emails/report_new.html

34 lines
1.5 KiB
HTML
Raw Permalink Normal View History

2023-01-02 15:31:32 -08:00
{% extends "emails/base.html" %}
{% load mail_tags %}
{% autoescape off %}
2023-01-14 09:32:48 -08:00
{% block title %}{{ config.site_name }} - New Moderation Report{% endblock title %}
{% block subtitle %}{{ config.site_name }} - New Moderation Report{% endblock subtitle %}
2023-01-02 15:31:32 -08:00
2023-01-09 08:58:17 -08:00
{% block body_greeting %}
{% email_body_content "Moderation Team," %}
2023-01-14 09:32:48 -08:00
{% email_body_content "A new report has been recieved for {{ config.site_name }}." %}
2023-01-09 08:58:17 -08:00
{% endblock body_greeting %}
2023-01-02 15:31:32 -08:00
2023-01-09 08:58:17 -08:00
{% block body_content %}
{% email_body_content "=============== Report Summary ===============" %}
2023-01-02 15:31:32 -08:00
2023-01-09 08:58:17 -08:00
{% if report.source_identity %}
2023-01-14 09:32:48 -08:00
{% email_body_content "Reporter Identity: {{ report.source_identity }} @ {{ report.source_domain }}" %}
2023-01-09 08:58:17 -08:00
{% else %}
2023-01-14 09:32:48 -08:00
{% email_body_content "Reporter Identity: Anonymous Report from {{ report.source_domain }}" %}
2023-01-09 08:58:17 -08:00
{% endif %}
2023-01-02 15:31:32 -08:00
2023-01-14 09:32:48 -08:00
{% email_body_content "Reported Identity: {{ report.subject_identity }}" %}
{% email_body_content "Complaint Type: {{ report.type }}" %}
{% email_body_content "Complaint Notes: {{ report.complaint }}" %}
2023-01-09 08:58:17 -08:00
{% endblock body_content %}
2023-01-02 15:31:32 -08:00
2023-01-09 08:58:17 -08:00
{% block body_button %}
2023-01-14 09:32:48 -08:00
{% email_button button_text="View Report" button_link="https://{{ settings.MAIN_DOMAIN }}/admin/reports/{{ report.id }}/" %}
2023-01-09 08:58:17 -08:00
{% endblock body_button %}
2023-01-02 15:31:32 -08:00
2023-01-09 08:58:17 -08:00
{% block extra_footer %}
2023-01-14 09:32:48 -08:00
{% email_footer "You are recieving this email because you are a moderator on the Takahe instance https://{{ settings.MAIN_DOMAIN }}" %}
2023-01-09 08:58:17 -08:00
{% endblock extra_footer %}
2023-01-02 15:31:32 -08:00
{% endautoescape %}