{% extends "helpdesk/base.html" %} {% load i18n bootstrap4form humanize %} {% load static from staticfiles %} {% block helpdesk_title %}{{ ticket.queue.slug }}-{{ ticket.id }} : {% trans "View Ticket Details" %}{% endblock %} {% block helpdesk_head %} {% endblock %} {% block h1_title %}{{ ticket.ticket_for_url }}{% endblock %} {% block helpdesk_breadcrumb %} {% 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.get_markdown|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.followupattachment_set.all %}{% if forloop.first %}{% trans "Attachments" %}:
    {% endif %}
  • {{ attachment.filename }} ({{ attachment.mime_type }}, {{ attachment.size|filesizeformat }}) {% if followup.user and request.user == followup.user %} {% endif %}
  • {% if forloop.last %}
{% endif %} {% endfor %}

{% with possible=helpdesk_settings.HELPDESK_SHOW_EDIT_BUTTON_FOLLOW_UP %} {% if possible and followup.user and request.user == followup.user and not followup.ticketchange_set.all or possible and user.is_superuser and helpdesk_settings.HELPDESK_SHOW_DELETE_BUTTON_SUPERUSER_FOLLOW_UP %} {% 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 %} {% endif %}{% endwith %}
{% 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 %} {% if user.is_staff %}
{% trans "(Optional)" %}
{% endif %}

{% csrf_token %}
{% endblock %} {% block helpdesk_js %} {% endblock %}