{% extends "base.html" %} {% block title %}Tickets{% endblock %} {% block breadcrumb %} {% endblock %} {% block content %}
{{ page_obj.paginator.count }} total tickets
| cb.value) : []" class="rounded border-gray-300 dark:border-gray-600 text-blue-600 focus:ring-blue-500"> | {% if "uuid" in columns %}Ticket ID {% if sort == 'uuid' %}{% endif %} | {% endif %} {% if "project" in columns %}Project {% if sort == 'project' %}{% endif %} | {% endif %} {% if "name" in columns %}Name {% if sort == 'name' %}{% endif %} | {% endif %} {% if "status" in columns %}Status {% if sort == 'status' %}{% endif %} | {% endif %} {% if "priority" in columns %}Priority {% if sort == 'priority' %}{% endif %} | {% endif %} {% if "assignees" in columns %}Assign To | {% endif %} {% if "creator" in columns %}Created By {% if sort == 'creator' %}{% endif %} | {% endif %} {% if "start_date" in columns %}Start Date {% if sort == 'start_date' %}{% endif %} | {% endif %} {% if "due_date" in columns %}Due Date {% if sort == 'due_date' %}{% endif %} | {% endif %} {% if "epic" in columns %}Epic {% if sort == 'epic' %}{% endif %} | {% endif %} {% if "created_at" in columns %}Created At {% if sort == 'created_at' %}{% endif %} | {% endif %}Actions | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {% if "uuid" in columns %} |
{{ t.uuid }}
|
{% endif %}
{% if "project" in columns %}
{{ t.project.ticket_prefix }} | {% endif %} {% if "name" in columns %}{{ t.name|truncatechars:30 }} | {% endif %} {% if "status" in columns %}{% if t.status.is_completed %}{% endif %} {{ t.status.name }} | {% endif %} {% if "priority" in columns %}{% if t.priority %} {{ t.priority.name }} {% else %} — {% endif %} | {% endif %} {% if "assignees" in columns %}
{% with assignees=t.assignees.all %}
{% for a in assignees|slice:":2" %}
{{ a.get_full_name|default:a.username|make_list|first|upper }}
{% endfor %}
{% if assignees|length > 2 %}
+{{ assignees|length|add:"-2" }}
{% endif %}
{% endwith %}
{% for a in assignees %}
{{ a.get_full_name|default:a.username }}
{% endfor %}
|
{% endif %}
{% if "creator" in columns %}
{{ t.created_by.get_full_name|default:t.created_by.username|default:"—" }} | {% endif %} {% if "start_date" in columns %}{{ t.start_date|date:"d/m/Y"|default:"—" }} | {% endif %} {% if "due_date" in columns %}{% if t.due_date %}{{ t.due_date|date:"d/m/Y" }}{% else %}—{% endif %} | {% endif %} {% if "epic" in columns %}{{ t.epic.name|default:"—" }} | {% endif %} {% if "created_at" in columns %}{{ t.created_at|date:"d/m/Y H:i" }} | {% endif %}||||||||
|
No tickets found Create your first ticket |
|||||||||||||||||||
Showing {{ page_obj.start_index }}–{{ page_obj.end_index }} of {{ page_obj.paginator.count }}