{% extends TICKETS_BASE_TEMPLATE %} {% load static %} {% block content %}
Status: {{ ticket.status }}
Created By: {{ ticket.created_by.username }}
Created At: {{ ticket.created_at|date:"d M Y H:i" }}
Description:
{{ ticket.description }}
Assigned Users: {% for user in ticket.assigned_users.all %} {{ user.username }}{% if not forloop.last %}, {% endif %} {% endfor %}
Assigned Departments: {% for dept in ticket.assigned_departments.all %} {{ dept.name }}{% if not forloop.last %}, {% endif %} {% endfor %}