{% extends "tickets/base.html" %} {% load static %} {% block title %}tickets List: {{ task_list.name }}{% endblock %} {% block content %} {% if list_slug != "mine" %} {# Task edit / new task form #}
{% include 'tickets/include/ticket_create.html' %}

{% endif %} {% if tickets %} {% if list_slug == "mine" %}

Tickets assigned to me (in all groups)

{% else %}

Tickets in "{{ task_list.name }}"

In workgroup "{{ task_list.group }}" - drag rows to set priorities.

{% endif %} {% for ticket in tickets %} {% endfor %}
ID Title Created Due on Owner Assigned Type State
{{ ticket.pk }} {{ ticket.title|truncatewords:10 }} {{ ticket.created_date|date:"d.m.Y" }} {{ ticket.due_date|date:"d.m.Y" }} {{ ticket.created_by }} {% if ticket.assigned_to %}{{ ticket.assigned_to }}{% else %}Anyone{% endif %} {{ ticket.type|title }} {{ ticket.status }}
{% if list_slug != "mine" %} {% include 'tickets/include/delete_list.html' %} {% endif %} {% else %}

No tickets on this list yet!


{% include 'tickets/include/delete_list.html' %} {% endif %} {% endblock %} {% block extra_js %} {% endblock extra_js %}