{{ticket.title}}
{{ticket.description}}
{{item.comment.comment}}
{% if item.comment.comment_attachment.all %}
{% for attachment in item.comment.comment_attachment.all %}
{% endfor %}
{% endif %}
{% with extension=attachment.file.name|lower|slice:"-4:" %}
{{ attachment }}
{% endwith %}
{{attachment}}
{% if item.comment.comment_attachment.all %}
{% for attachment in item.comment.comment_attachment.all %}
{% with extension=attachment.file.name|lower|slice:"-4:" %}
{{ attachment }}
{% endwith %}
{% endfor %}
{% endif %}
{{item.history.updated_by}} {% trans "Created the ticket " %}
{% elif item.history.changes.0.is_fk == True %}
{{item.history.updated_by}} {% trans "changed the ticket " %}{{item.history.changes.0.field}} {% trans " from" %}
{{item.history.pair.0|fk_history:item.history.changes.0}} {% trans "to" %} {{item.history.pair.1|fk_history:item.history.changes.0}}
{{ item.history.pair.0.history_date}}
{% else %}
{{item.history.updated_by}} {% trans "changed the ticket " %}{{item.history.changes.0.field}} {% trans " from" %}
{{item.history.changes.0.old}} {% trans "to" %} {{item.history.changes.0.new}}
{{ item.history.pair.0.history_date}}
{% endif %}
{% endif %}
{% endfor %}
{% trans "Ticket Details" %}
{% trans "Ticket Info" %}
{% if not ticket.assigned_to.all and request.user.employee_get != ticket.employee_id %}
{% trans "Claim" %}
{% endif %}
- {% trans "Ticket ID:" %} {{ticket.ticket_type.prefix}}{{ ticket.id|stringformat:"03d" }}
- {% trans "Owner" %} {{ticket.employee_id}}
- {% trans "Created:" %} {{ticket.created_date}}
- {% trans "Last activity:" %} {% with sorted_activity_list|last as last %} {{ last.date }} {% endwith %} {% comment %}
- {% trans "Status:" %} {% endcomment %}
{% trans "Responsibility" %}
{{remaining}}
{% trans "Forward to" %}
{% if perms.helpdesk.changeticket or request.user.employee_get == ticket.employee_id %}
{% trans "Change" %}
{% endif %}
- {{ticket.get_raised_on_object}}
{% trans "Assigned to" %}
{% if perms.helpdesk.changeticket %}
{% trans "Change" %}
{% endif %}
{% for assignee in ticket.assigned_to.all %}
{% trans "Documents" %}
-
{% if attachments %}
{% for attachment in attachments %}
{% with extension=attachment.file.name|lower|slice:"-4:" %}
-