{% extends "helpdesk/base.html" %} {% load static i18n bootstrap4form humanize %} {% block helpdesk_title %} {{ ticket.queue.slug }}-{{ ticket.id }}: {% translate "View Ticket Details" %} {% endblock helpdesk_title %} {% block h1_title %}{{ ticket.ticket_for_url }}{% endblock h1_title %} {% block helpdesk_breadcrumb %} {% endblock helpdesk_breadcrumb %} {% block helpdesk_body %} {% if form.errors %} {{ form.errors }} {% include "helpdesk/include/alert_form_errors.html" %} {% endif %} {% if helpdesk_settings.HELPDESK_TRANSLATE_TICKET_COMMENTS %}
{% endif %} {% include "helpdesk/ticket_desc_table.html" %} {% if ticket.merged_to %}

{% trans "This ticket has been merged into ticket" %} {{ ticket.merged_to }}

{% else %} {# Nav Tabs #}
{% if followups %} {% endif %}
{# Followup Pane #} {% if followups %} {% load ticket_to_link %}
{% for followup in followups %}
{{ followup.title|escape|num_to_link }}
{% if helpdesk_settings.HELPDESK_ENABLE_TIME_SPENT_ON_TICKET and followup.time_spent_formated %} {{ followup.time_spent_formated }} · {% endif %} {% if not followup.public %} {% trans "Private" %} {% endif %}
{{ followup.date|naturaltime }} {% if followup.user %}· {{ followup.user }}{% endif %} {# Ticket comments #} {% if followup.comment %}
{{ followup.get_markdown|urlizetrunc:50|num_to_link }}
{% endif %} {# Changes to ticket #} {% if followup.ticketchange_set.all %}
    {% for change in followup.ticketchange_set.all %}
  • {% blocktranslate with change.field as field and change.old_value as old_value and change.new_value as new_value %} Changed {{ field }} from {{ old_value }} to {{ new_value }}. {% endblocktranslate %}
  • {% endfor %}
{% endif %} {# Attachments #} {% if helpdesk_settings.HELPDESK_ENABLE_ATTACHMENTS and followup.followupattachment_set.all %}
{% translate "Attachments" %}
    {% for attachment in followup.followupattachment_set.all %}
  • {{ attachment.filename }} ({{ attachment.mime_type }}, {{ attachment.size|filesizeformat }}) {% if followup.user and request.user == followup.user %} {% endif %}
  • {% endfor %}
{% endif %}
{% endfor %}
{% endif %} {# Respond Pane #}
{% csrf_token %} {% if preset_replies %}
{% translate "Selecting a pre-set reply will over-write your comment below. You can then modify the pre-set reply to your liking before saving this update." %}
{% endif %} {# Comment text box #}
{% url "helpdesk:help_context" as context_help_url %} {% blocktranslate %}

You can insert ticket and queue details in your message. For more information, see the context help page.

{% endblocktranslate %}
{# Status radio buttons #}
{% translate "New Status" %} {% for status_choice in ticket.get_allowed_status_flow %}
{% endfor %} {% if not ticket.can_be_resolved %}
{% translate "This ticket cannot be resolved or closed until the tickets it depends on are resolved." %}
{% endif %}
{# Public update checkbox #} {% if helpdesk_settings.HELPDESK_UPDATE_PUBLIC_DEFAULT %} {% else %}
{% translate "If this is public, the submitter will be e-mailed your comment or resolution." %}
{% endif %} {# Time spent widget #} {% if helpdesk_settings.HELPDESK_ENABLE_TIME_SPENT_ON_TICKET and user.is_staff %}
{% endif %} {# Ticket Details #}

{# Extra Ticket Details form #}
{{ form.due_date }}
{# ticket merge form #} {{ customfields_form }}
{# Checklists #} {% if ticket.checklists.exists %}

{% for checklist in ticket.checklists.all %}
{{ checklist }}
{% for task in checklist.tasks.all %}
{% endfor %}
{% endfor %}
{% endif %} {# Attachments #} {% if helpdesk_settings.HELPDESK_ENABLE_ATTACHMENTS %} {% if form.errors.attachment %}{{ form.errors.attachment }}{% endif %}

{% endif %}
{% endif %} {% endblock %} {% block helpdesk_js %} {% endblock %}