{% extends "minecraft_manager/dashboard.html" %} {% load csrf_html %} {% load reverse_player %} {% block title %}Ticket Info{% endblock %} {% block section %}

Ticket Info ({% player_reverse_id ticket.player.id %}) {{ 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 ticket_note in form.ticket_notes %}

Note by {{ ticket_note.author.username }}

Message:

{{ ticket_note.message }}

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

Created: {{ ticket_note.date }}

Last Update: {{ ticket_note.last_update }}

{% endfor %}
{% if not form.has_ticket_note and not form.show_ticket_note %}
{% endif %}

Note

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