{% extends "base.html" %} {% load display_sound %} {% block title %} Ticket {{ ticket.key }} {% endblock title %} {% block content %}

Ticket #{{ ticket.id }} - {{ ticket.title }}

Ticket details


Messages

{% include 'tickets/message_list.html' %} {% if request.user.is_authenticated %}

Add new message to the ticket

{% csrf_token %} {{tc_form.as_p}}
{% else %}

Please log in to add messages {% endif %}

{% if perms.tickets.can_moderate %}

Ticket controls

{% csrf_token %} {{ ticket_form.as_p }} {{ sound_form.as_p }}
{% endif %}

Ticket linked content

{% if ticket.sound %}
{% display_sound ticket.sound %} {% if perms.sound.can_edit or ticket.sound.user == request.user %} {% if ticket.sound.processing_state == 'OK' %} {% else %} {% endif %} {% endif %}

Sound's moderation state is set to {% if ticket.sound.moderation_state == 'PE' %} Pending {% else %} OK {% endif %}
Sound's processing state is set to {% if ticket.sound.processing_state == 'PE' %} Pending {% else %} OK {% endif %} {% else %}

No linked content {% endif %}


{% endblock content %}