{% extends 'helpdesk/base.html' %} {% load helpdesk %} {% load bootstrap3 %} {% load widget_tweaks %} {% block content %}

HD-{{ object.pk }}: {{ object.title }}

{{ object.created|date:"d.m.Y H:i:s" }}

    {% for attachment in attachments %}
  1. {{ attachment.filename }} ({{ attachment.attachment.size|filesizeformat }})
  2. {% endfor %}
{% for comment in comments %} {% include 'helpdesk/comment.html' %} {% endfor %}

Add answer

{% csrf_token %} {% bootstrap_form reply_form %} {{ attachment_formset.management_form }} {% for form in attachment_formset %} {% bootstrap_form form %} {% endfor %} {% bootstrap_button 'Submit' button_type='submit' name='reply' %}

Ticket info

{% csrf_token %} {% if perms.helpdesk.view_customer %} {% endif %}
Assignee: {{ ticket_form.assignee|add_class:"form-control" }}
Project: {{ ticket_form.project|add_class:"form-control" }}
Priority: {{ ticket_form.priority|add_class:"form-control" }}
State: {{ ticket_form.state|add_class:"form-control" }}
Customer: {{ object.customer }}
{% bootstrap_button 'Update' button_type='submit' name='ticket' %}
    {% for action in history %}
  • {{ action.created|date:"d.m.Y H:i:s" }} by {% me_or_user action.user %}:

    {{ action.change|safe|linebreaks }}
  • {% endfor %}
{% endblock %}