{% load i18n humanize %}
| {% if current_sort and sort_param %} {% with current=current_sort %} {% if current == 'id' %} {% trans "Ticket" %} {% elif current == '-id' %} {% trans "Ticket" %} {% else %} {% trans "Ticket" %} {% endif %} {% endwith %} {% else %} {% trans "Ticket" %} {% endif %} | {% if current_sort and sort_param %} {% with current=current_sort %} {% if current == 'priority' %} {% trans "Priority" %} {% elif current == '-priority' %} {% trans "Priority" %} {% else %} {% trans "Priority" %} {% endif %} {% endwith %} {% else %} {% trans "Priority" %} {% endif %} | {% if current_sort and sort_param %} {% with current=current_sort %} {% if current == 'queue' %} {% trans "Queue" %} {% elif current == '-queue' %} {% trans "Queue" %} {% else %} {% trans "Queue" %} {% endif %} {% endwith %} {% else %} {% trans "Queue" %} {% endif %} | {% if current_sort and sort_param %} {% with current=current_sort %} {% if current == 'status' %} {% trans "Status" %} {% elif current == '-status' %} {% trans "Status" %} {% else %} {% trans "Status" %} {% endif %} {% endwith %} {% else %} {% trans "Status" %} {% endif %} | {% if current_sort and sort_param %} {% with current=current_sort %} {% if current == 'modified' %} {% trans "Last Update" %} {% elif current == '-modified' %} {% trans "Last Update" %} {% else %} {% trans "Last Update" %} {% endif %} {% endwith %} {% else %} {% trans "Last Update" %} {% endif %} | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ ticket.id }}. {{ ticket.title }} | {{ ticket.priority }} | {{ ticket.queue }} | {{ ticket.get_status }} | {{ ticket.modified|naturaltime }} | |||||||
| {{ ticket_list_empty_message }} | {% else %}{% trans "You do not have any pending tickets." %} | {% endif %}||||||||||