{% load i18n humanize %}
{% translate "Unassigned Tickets" %} {% translate "(pick up a ticket if you start to work on it)" %}
{% for ticket in unassigned_tickets %} {% empty %} {% endfor %}
{% if unassigned_tickets_sort %} {% with current=unassigned_tickets_sort %} {% if current == 'id' %} {% translate "Ticket" %} {% elif current == '-id' %} {% translate "Ticket" %} {% else %} {% translate "Ticket" %} {% endif %} {% endwith %} {% else %} {% translate "Ticket" %} {% endif %} {% if unassigned_tickets_sort %} {% with current=unassigned_tickets_sort %} {% if current == 'priority' %} {% translate "Priority" %} {% elif current == '-priority' %} {% translate "Priority" %} {% else %} {% translate "Priority" %} {% endif %} {% endwith %} {% else %} {% translate "Priority" %} {% endif %} {% if unassigned_tickets_sort %} {% with current=unassigned_tickets_sort %} {% if current == 'queue' %} {% translate "Queue" %} {% elif current == '-queue' %} {% translate "Queue" %} {% else %} {% translate "Queue" %} {% endif %} {% endwith %} {% else %} {% translate "Queue" %} {% endif %} {% if unassigned_tickets_sort %} {% with current=unassigned_tickets_sort %} {% if current == 'created' %} {% translate "Created" %} {% elif current == '-created' %} {% translate "Created" %} {% else %} {% translate "Created" %} {% endif %} {% endwith %} {% else %} {% translate "Created" %} {% endif %} {% translate "Actions" %}
{{ ticket.id }}. {{ ticket.title }} {{ ticket.priority }} {{ ticket.queue }} {{ ticket.created|naturaltime }}
{% translate "There are no unassigned tickets." %}
{% if unassigned_tickets.has_other_pages %} {% endif %}
{% for kbitem in kbitems %} {% if kbitem.unassigned_tickets %}
{% translate "KBItem:" %} {{kbitem.title}} {% translate "Team:" %} {{kbitem.get_team.name}} {% translate "(pick up a ticket if you start to work on it)" %}
{% for ticket in kbitem.unassigned_tickets %} {% empty %} {% endfor %}
{% translate "Ticket" %} {% translate "Priority" %} {% translate "Queue" %} {% translate "Created" %} {% translate "Actions" %}
{{ ticket.id }}. {{ ticket.title }} {{ ticket.priority }} {{ ticket.queue }} {{ ticket.created|naturaltime }}
{% translate "There are no unassigned tickets." %}
{% endif %} {% endfor %}