{% extends "helpdesk/base.html" %}{% load i18n bootstrap %}{% load url from future %} {% block helpdesk_title %}{% trans "View Ticket Details" %}{% endblock %} {% block helpdesk_head %} {% endblock %} {% block h1_title %}{{ ticket.ticket_for_url }}{% endblock %} {% block helpdesk_body %} {% if helpdesk_settings.HELPDESK_TRANSLATE_TICKET_COMMENTS %} {% comment %}
{% trans "Translate ticket comments into" %}
{% endcomment %}
{% endif %} {% include "helpdesk/ticket_desc_table.html" %} {% if ticket.followup_set.all %}

{% trans "Follow-Ups" %}

{% load ticket_to_link %} {% for followup in ticket.followup_set.all %} {% if helpdesk_settings.HELPDESK_FOLLOWUP_MOD %}
{{ followup.title }} {% if not followup.public %} ({% trans "Private" %}){% endif %} {% if helpdesk_settings.HELPDESK_SHOW_EDIT_BUTTON_FOLLOW_UP %} {% if followup.user and request.user == followup.user and not followup.ticketchange_set.all %} Edit {% endif %} {% endif %} {% if user.is_superuser and helpdesk_settings.HELPDESK_SHOW_DELETE_BUTTON_SUPERUSER_FOLLOW_UP %} Delete {% endif %}
{% else %}
{{ followup.title }} {% if helpdesk_settings.HELPDESK_SHOW_EDIT_BUTTON_FOLLOW_UP %} {% if followup.user and request.user == followup.user and not followup.ticketchange_set.all %} Edit {% endif %} {% endif %} {% if user.is_superuser and helpdesk_settings.HELPDESK_SHOW_DELETE_BUTTON_SUPERUSER_FOLLOW_UP %} Delete {% endif %}
{% endif %} {% if followup.comment %}{{ followup.comment|force_escape|urlizetrunc:50|num_to_link|linebreaksbr }}{% endif %} {% for change in followup.ticketchange_set.all %} {% if forloop.first %}
    {% endif %}
  • {% blocktrans 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 }}.{% endblocktrans %}
  • {% if forloop.last %}
{% endif %} {% endfor %} {% for attachment in followup.attachment_set.all %}{% if forloop.first %}
    {% endif %}
  • {{ attachment.filename }} ({{ attachment.mime_type }}, {{ attachment.size|filesizeformat }}) {% if followup.user and request.user == followup.user %} delete {% endif %}
  • {% if forloop.last %}
{% endif %} {% endfor %}
{% endfor %} {% endif %} {% if helpdesk_settings.HELPDESK_TRANSLATE_TICKET_COMMENTS %}
{% endif %}

{% trans "Respond to this ticket" %}

{% if preset_replies %}
(Optional)
{% trans "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 %}
{% trans "You can insert ticket and queue details in your message. For more information, see the context help page." %}
{% if not ticket.can_be_resolved %}
{% trans "This ticket cannot be resolved or closed until the tickets it depends on are resolved." %}
{% endif %} {% ifequal ticket.status 1 %}
» » »
{% endifequal %} {% ifequal ticket.status 2 %}
» » »
{% endifequal %} {% ifequal ticket.status 3 %}
« »
{% endifequal %} {% ifequal ticket.status 4 %}
«
{% endifequal %} {% ifequal ticket.status 5 %}
«
{% endifequal %} {% if helpdesk_settings.HELPDESK_UPDATE_PUBLIC_DEFAULT %} {% else %}
(Optional)
{% trans "If this is public, the submitter will be e-mailed your comment or resolution." %}
{% endif %}

{% trans "Change Further Details »" %}

{% trans "Attach File(s) »" %}

{% csrf_token %}
{% endblock %}