{% extends "minecraft_manager/dashboard.html" %} {% load csrf_html %} {% block section %}

Ticket Info ({{ ticket.issuer }}) {{ ticket.resolved_label }}

Message:

{{ ticket.message }}

Location: {{ ticket.location }}

Sent In Date: {{ ticket.date }}

{% if ticket.resolved is False %}
{% autoescape off %}{% get_csrf_html request %}{% endautoescape %}

Claimed: {% if user.is_staff %} {% elif ticket.staff %} {{ ticket.staff.username }} {% else %} {% endif %}

Priority: {% if user.is_staff or user == ticket.staff %} {% else %} {{ ticket.priority_display }} {% endif %}

{% if user.is_staff or ticket.staff and user == ticket.staff %} {% endif %}
{% else %}

Claimed: {{ ticket.staff.username }}

Priority: {{ ticket.priority_display }}

{% endif %}

{% for note in form.notes %}

Note by {{ note.author.username }}

Message:

{{ note.message }}

{% if note.author == user %} {% endif %}

Created: {{ note.date }}

Last Update: {{ note.last_update }}

{% endfor %}
{% if not form.has_note and not form.show_note %}
{% endif %}

Note

{% autoescape off %}{% get_csrf_html request %}{% endautoescape %} {{ form.note_form }}
{% endblock section %}