{% extends 'layout/page.html' %} {% block head_title %} {% if context.id %} Issue {{ context.id }}: {{ context.title }} - {{ config.TRACKER_NAME }} {% else %} New Issue - {{ config.TRACKER_NAME }} {% endif %} {% endblock %} {% block page_header %} {% if not (context.id or context.is_edit_ok()) %} New Issue {% elif not context.id and context.is_edit_ok() %} New Issue Editing {% else %} Issue {{ context.id }} {% endif %} {% endblock %} {% block content %} {% include 'layout/permission.html' %} {% if context.is_view_ok() %} {% if context.is_edit_ok() %} {% include 'issue.item.edit.html' %} {% else %} {% include 'issue.item.readonly.html' %} {% endif %} {% endif %} {% if context.id %}

Created on {{ context.creation }} by {{ context.creator }}, last changed {{ context.activity }} by {{ context.actor }}.

{% endif %} {% if context.files %} {% include 'file.index.html' %} {% endif %} {% if context.messages %}

Messages

{% for msg in context.messages.reverse() %}
msg{{msg.id}} (view)
Author: {{ msg.author }}, Date: {{ msg.date }}
{% if context.is_edit_ok %}
{% endif %}
{{ msg.content.hyperlinked()|u }}
{% endfor %} {% endif %}
{{ context.history() }} {% endblock %}