{% extends "base.html" %} {% block title %}message — defossil{% endblock %} {% block content %}

Message #{{ message.id }} {{ message.status }}

{{ message.source }} · {{ message.typed_at|dt }} {% for key, value in message.meta.items() %}
{{ key }}: {{ value }}
{% endfor %}
source_key: {{ message.source_key }}
{{ message.text }}

Corrections

{% if message.status != 'reviewed' %}

{{ 'not reviewed yet' if message.status in ('new', 'pending') else 'not sent to review (' + message.status + ')' }}

{% elif corrections %} {% for c in corrections %} {% endfor %}
categoryoriginalcorrectedwhy
{{ c.category }}{{ c.original }}{{ c.corrected }}{{ c.explanation }}
{% else %}

reviewed — no corrections

{% endif %} {% endblock %}