{% extends 'base/base.html' %} {% load static %} {% load deletedmessage_filters %} {% block title %}Logs for Deleted Message Context {{ message_context.id }}{% endblock %} {% block head %} {% endblock %} {% block content %}
{% for message in deletion_context.deletedmessage_set.all reversed %}
{{ message.author }}
{{ message.content | escape | visible_newlines | safe }}
{% for attachment in message.attachments %} Attachment {% endfor %}
{% for embed in message.embeds %}
{% if embed.author %}
{% if embed.author.icon_url %} Author Icon{% endif %} {% if embed.author.url %}{% endif %} {{ embed.author.name }} {% if embed.author.url %}{% endif %}
{% endif %} {% if embed.title %} {% endif %} {% if embed.description %}
{{ embed.description | linebreaksbr }}
{% endif %} {% if embed.fields %}
{% for field in embed.fields %}
{{ field.name }}
{{ field.value }}
{% endfor %}
{% endif %} {% if embed.image %}
Discord Embed Image
{% endif %}
{% if embed.thumbnail %}
Embed thumbnail
{% endif %}
{% if embed.footer or embed.timestamp %} {% endif %}
{% endfor %}
{% endfor %} {% endblock %}