{% load i18n %} {% load url from future %} {% load load_helpdesk_settings %} {%comment%} {%endcomment%} {% if tags_enabled %} {% endif %} {%comment%} {%endcomment%} {% for customfield in ticket.ticketcustomfieldvalue_set.all %} {% endfor %} {% if ticket.resolution %}{% endif %}
{% trans 'Status' as label %}{{ label|nbsp }}: {{ ticket.get_status }}
{% trans 'Submitted On' as label %}{{ label|nbsp }}: {{ ticket.created|date:"r" }} ({{ ticket.created|timesince }} ago)
{% trans 'Assigned To' as label %}{{ label|nbsp }}: {{ ticket.get_assigned_to }}{% ifequal ticket.get_assigned_to _('Unassigned') %} {% trans "Take" %}{% endifequal %}
{% trans 'Submitter E-Mail' as label %}{{ label|nbsp }}: {{ ticket.submitter_email }}{% if user.is_superuser %} {% trans "Ignore" %}{% endif %}
{% trans 'Priority' as label %}{{ label|nbsp }}: {{ ticket.get_priority_display }}
{% trans 'Copies To' as label %}{{ label|nbsp }}: {{ ticketcc_string }} {% trans "Manage" %} {% if SHOW_SUBSCRIBE %}, {% trans "Subscribe" %} {% trans "Click here to subscribe yourself to this ticket, if you want to receive an e-mail whenever this ticket is updated." %}{% endif %}
{% trans 'Tags' as label %}{{ label|nbsp }} {{ ticket.tags }}
{% trans 'Dependencies' as label %}{{ label|nbsp }}: {% for dep in ticket.ticketdependency.all %} {% if forloop.first %}

{% trans "This ticket cannot be resolved until the following ticket(s) are resolved" %}

{% endif %} {% empty %}

{% trans "This ticket has no dependencies." %}

{% endfor %}

{% trans "Add Dependency" %}

{{ customfield.field.label }} {% ifequal customfield.field.data_type "url" %}{{ customfield.value }}{% else %}{{ customfield.value }}{% endifequal %}
{% trans 'Description' as label %}{{ label|nbsp }}:
{{ ticket.description|force_escape|urlizetrunc:50|linebreaksbr }}
{% trans "Resolution" %}{% ifequal ticket.get_status_display "Resolved" %} {% trans "Accept" %}{% endifequal %}
{{ ticket.resolution|force_escape|urlizetrunc:50|linebreaksbr }}