{% extends "aa_ticket/base.html" %} {% load i18n static humanize aa_ticket %} {% block ticket_title %}{{ ticket.display_number }} {{ ticket.title }}{% endblock %} {% block ticket_content %}

{{ ticket.display_number }} {{ ticket.title }}

{% include "aa_ticket/partials/status_badge.html" %}

{{ ticket.department.name }}{% if ticket.category %} · {{ ticket.category.name }}{% endif %} · {% include "aa_ticket/partials/priority_badge.html" %} · {% translate "Requester" context 'aa_ticket' %}: {{ ticket.requester|display_name }} · {% translate "Assignee" context 'aa_ticket' %}: {% if ticket.assignee %}{{ ticket.assignee|display_name }}{% else %}{% translate "nobody yet" context 'aa_ticket' %}{% endif %} {% if collaborators %}· {% translate "Helping" context 'aa_ticket' %}: {% for d in collaborators %}{{ d.name }}{% if not forloop.last %}, {% endif %}{% endfor %}{% endif %}

{% if autoclose_eta %}
{% blocktranslate context 'aa_ticket' with when=autoclose_eta|naturaltime %}Closes automatically {{ when }} unless someone replies.{% endblocktranslate %}
{% endif %}
{% include "aa_ticket/partials/timeline.html" %} {% if can.reply or can.note %}
{% csrf_token %}
{% if reply_hint %}
{{ reply_hint }} {% if can.claim %}{% endif %}
{% endif %} {% if can.note and can.reply %}
{% elif can.note %}
{% translate "Internal note — only staff can see this" context 'aa_ticket' %}
{% else %} {% endif %}
{% if canned_replies %} {% endif %} {% if uploads_enabled %} {% endif %}
{% elif ticket.status == "closed" %}
{% translate "This ticket is closed." context 'aa_ticket' %}{% if can.reopen %} {% translate "Reopen it to continue the conversation." context 'aa_ticket' %}{% endif %}{% if not can.reopen and not is_staff %} {% translate "It can no longer be reopened. If you still need help, submit a new ticket." context 'aa_ticket' %} {% translate "Submit ticket" context 'aa_ticket' %}{% endif %}
{% endif %}
{# ---- modals ---- #} {% if can.assign and assignable_users %} {% endif %} {% if can.invite and other_departments %} {% endif %} {% if can.uninvite and collaborators %} {% endif %} {% if can.transfer and other_departments %} {% endif %} {% if can.priority %} {% endif %} {% if can.category and categories %} {% endif %} {% if can.escalate %} {% endif %} {% if can.close %} {% endif %} {% endblock %} {% block extra_javascript %}{% endblock %}