{% extends "helpdesk/base.html" %} {% load i18n bootstrap humanize %} {% load static from staticfiles %} {% 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 %} {% load ticket_to_link %}

 {% trans "Follow-Ups" %}

    {% for followup in ticket.followup_set.all %}

    {{ followup.title }}

     

    {% 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 %} {% endfor %}
    {% if helpdesk_settings.HELPDESK_SHOW_EDIT_BUTTON_FOLLOW_UP %} {% if followup.user and request.user == followup.user and not followup.ticketchange_set.all %} {% endif %} {% endif %} {% if user.is_superuser and helpdesk_settings.HELPDESK_SHOW_DELETE_BUTTON_SUPERUSER_FOLLOW_UP %} {% endif %}
    {% endfor %}
{% endif %} {% if helpdesk_settings.HELPDESK_TRANSLATE_TICKET_COMMENTS %}
{% endif %}

{% trans "Respond to this ticket" %}

{% if preset_replies %}
{% trans "(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 %}
{% trans "(Optional)" %}
  {% trans 'Yes, make this update public.' %}
{% trans "If this is public, the submitter will be e-mailed your comment or resolution." %}
{% endif %}

{% csrf_token %}
{% endblock %}