{% load i18n %}
{% 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 %}
{# djlint:off #} {# djlint: on #}
{% 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 %} {% if notification_recipients %}
{% translate "The following addresses will be notified:" %} {{ notification_recipients|join:", " }}
{% endif %} {# Time spent widget #} {% if helpdesk_settings.HELPDESK_ENABLE_TIME_SPENT_ON_TICKET and user.is_staff %}
{% endif %}
{# Optional form content #} {# Three toggle buttons #}
{% if ticket.checklists.exists %} {% endif %} {% if helpdesk_settings.HELPDESK_ENABLE_ATTACHMENTS %} {% endif %}
{# Extra Ticket Details form #}
{% if queues|length > 1 %}
{% else %} {% endif %}
{{ 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 %}