{% extends "tickets/base.html" %} {% load static %} {% block content %} {% if my_tickets %}

My Tickets (in all groups)

{% elif assignments %}

Assignments (in all groups)

{% else %}

{{ ticket_list.group }} > {{ ticket_list.name }}

{% endif %}
{% if tickets %}
{% for ticket in tickets %} {% endfor %}
ID Type Title Created at Due on Owner Assigned Status Priority
{{ ticket.pk }} {{ ticket.get_ticket_type_display }} {{ ticket.title|truncatechars:48 }} {{ ticket.created_at }} {{ ticket.due_date }} {{ ticket.created_by_username }} {% if ticket.assigned_to_username %}{{ ticket.assigned_to_username }}{% else %}Anyone{% endif %} {{ ticket.get_status_display }} {{ ticket.priority }}
{% else %}

There are no Tickets!

{% endif %} {% endblock %}