{% extends "tickets/base.html" %} {% block content %}

{{ found_tickets|length|default:0 }} search results for term "{{ query_string }}"

{% for ticket in found_tickets %}
{{ ticket.title|truncatechars:48 }}

{{ ticket.note|truncatechars:128 }}

Created at: {{ ticket.created_at }}
Due date: {{ ticket.due_date }}
In list: {{ ticket.ticket_list.name }}
Created by: {{ ticket.created_by_username }}
Assigned to: {% if ticket.assigned_to_username %}{{ ticket.assigned_to_username }}{% else %}Anyone{% endif %}
Type: {{ ticket.get_ticket_type_display }}
Status: {{ ticket.status }}
Priority: {{ ticket.priority }}
{% empty %}

No results to show :(

{% endfor %} {% endblock %}