{% extends 'layout/page.html' %} {% block head_title %} {% if context.id %} {% trans %}Message{% endtrans %} {{ context.id }} - {{ config.TRACKER_NAME }} {% else %} {% trans %}New Message{% endtrans %} - {{ config.TRACKER_NAME }} {% endif %} {% endblock %} {% block page_header %} {% if not (context.id or context.is_edit_ok()) %} {% trans %}New Message{% endtrans %} {% elif not context.id and context.is_edit_ok() %} {% trans %}New Message Editing{% endtrans %} {% elif context.id and not context.is_edit_ok() %} {% trans %}Message{% endtrans %} {{ context.id }} {% elif context.id and context.is_edit_ok() %} {% trans %}Message{% endtrans %} {{ context.id }} {% trans %}editing{% endtrans %} {% endif %} {% endblock %} {% block content %} {% include 'layout/permission.html' %} {% if context.is_view_ok() %}
{% trans %}Author{% endtrans %}
{{ context.author.plain()|u }}
{% trans %}Date{% endtrans %}
{{ context.date.plain()|u }}
{% trans %}Message id{% endtrans %}
{{ context.id }}

Content

{% if context.type == 'text/markdown' %}
{{ context.content.markdown()|u|safe }}
{% elif context.type == 'text/x-rst' %}
{{ context.content.rst()|u|safe }}
{% else %}
{{ context.content.hyperlinked()|u|safe }}
{% endif %}
{% endif %} {% if context.files %} {% include 'file.index.html' %} {% endif %}
{{ context.history()|u|safe }} {% endblock %}