{% load horillafilters %} {% load basefilters %} {% load static %} {% load mathfilters %} {% load i18n %} {% include 'filter_tags.html' %}
{% if my_tickets %}
{% for my_ticket_list in my_tickets %}
{{my_ticket_list.list.paginator.count}} {{my_ticket_list.grouper}}
{% trans "Ticket Id" %}
{% trans "Title" %}
{% trans "Owner" %}
{% trans "Type" %}
{% trans "Forward to" %}
{% trans "Assigned to" %}
{% trans "Status" %}
{% trans "Priority" %}
{% trans "Tags" %}
{% trans "Actions" %}
{% for ticket in my_ticket_list.list %}
{{ticket.ticket_type.prefix}}{{ ticket.id|stringformat:"03d" }}
{{ticket.title}}
{{ticket.employee_id}}
{{ticket.ticket_type}}
{{ticket.get_raised_on}}
{{ticket.assigned_to.all|join:" , "}}
{{ticket.get_status_display}}
{% if ticket.priority == 'low' %}
{% csrf_token %}
{% for i in "321" %} {% endfor %}
{% elif ticket.priority == 'medium' %}
{% csrf_token %}
{% for i in "321" %} {% endfor %}
{% else %}
{% csrf_token %}
{% for i in "321" %} {% endfor %}
{% endif %}
{{ticket.tags.all|join:" , "}}
{% csrf_token %}
{% endfor %}
{% trans "Page" %} {{ my_ticket_list.list.number }} {%trans "of" %} {{my_ticket_list.list.paginator.num_pages }}.
{% endfor %}
{% else %}
Page not found. 404.
{% trans "There are no tickets at the moment." %}
{% endif %}
{% if allocated_tickets %}
{% for allocated_tickets_list in allocated_tickets %}
{{allocated_tickets_list.list.paginator.count}} {{allocated_tickets_list.grouper}}
{% trans "Ticket Id" %}
{% trans "Title" %}
{% trans "Owner" %}
{% trans "Type" %}
{% trans "Forward to" %}
{% trans "Assigned to" %}
{% trans "Status" %}
{% trans "Priority" %}
{% trans "Tags" %}
{% trans "Actions" %}
{% for ticket in allocated_tickets_list.list %}
{{ticket.ticket_type.prefix}}{{ ticket.id|stringformat:"03d" }}
{{ticket.title}}
{{ticket.employee_id}}
{{ticket.ticket_type}}
{{ticket.get_raised_on}}
{{ticket.assigned_to.all|join:" , "}}
{{ticket.get_status_display}}
{% if ticket.priority == 'low' %}
{% csrf_token %}
{% for i in "321" %} {% endfor %}
{% elif ticket.priority == 'medium' %}
{% csrf_token %}
{% for i in "321" %} {% endfor %}
{% else %}
{% csrf_token %}
{% for i in "321" %} {% endfor %}
{% endif %}
{{ticket.tags.all|join:" , "}}
{% csrf_token %}
{% endfor %}
{% trans "Page" %} {{ allocated_tickets_list.list.number }} {%trans "of" %} {{allocated_tickets_list.list.paginator.num_pages }}.
{% endfor %}
{% else %}
Page not found. 404.
{% trans "There are no tickets at the moment." %}
{% endif %}
{% if all_tickets %}
{% for all_tickets_list in all_tickets %}
{{all_tickets_list.list.paginator.count}} {{all_tickets_list.grouper}}
{% trans "Ticket Id" %}
{% trans "Title" %}
{% trans "Owner" %}
{% trans "Type" %}
{% trans "Forward to" %}
{% trans "Assigned to" %}
{% trans "Status" %}
{% trans "Priority" %}
{% trans "Tags" %}
{% trans "Actions" %}
{% for ticket in all_tickets_list.list %}
{{ticket.ticket_type.prefix}}{{ ticket.id|stringformat:"03d" }}
{{ticket.title}}
{{ticket.employee_id}}
{{ticket.ticket_type}}
{{ticket.get_raised_on}}
{{ticket.assigned_to.all|join:" , "}}
{{ticket.get_status_display}}
{% if ticket.priority == 'low' %}
{% csrf_token %}
{% for i in "321" %} {% endfor %}
{% elif ticket.priority == 'medium' %}
{% csrf_token %}
{% for i in "321" %} {% endfor %}
{% else %}
{% csrf_token %}
{% for i in "321" %} {% endfor %}
{% endif %}
{{ticket.tags.all|join:" , "}}
{% csrf_token %}
{% endfor %}
{% trans "Page" %} {{ all_tickets_list.list.number }} {%trans "of" %} {{all_tickets_list.list.paginator.num_pages }}.
{% endfor %}
{% else %}
Page not found. 404.
{% trans "There are no tickets at the moment." %}
{% endif %}