{% extends "base.html" %} {% block title %}Inbox{% endblock %} {% block content %}
| Star | ID | Msg | Subject | Product | PS | Status | Priority | Support | Last Activity |
|---|---|---|---|---|---|---|---|---|---|
| {# ID + external link #} |
#{{ ticket.provider_thread_id or ticket.id }}
{% if ticket.provider_thread_id %}
open_in_new
{% endif %}
{% if not ticket.is_read %}
{% endif %}
{% if ticket.has_ai %}
psychology
{% endif %}
{% if ticket.customer_revenue and ticket.customer_revenue|float > 500 %}
VIP
{% elif ticket.customer_revenue and ticket.customer_revenue|float > 100 %}
military_tech
{% endif %}
|
{# Last message preview #}
{% if ticket.last_msg_direction %}
{% if ticket.last_msg_direction == 'inbound' %}
call_received
{% else %}
call_made
{% endif %}
{% else %}
-
{% endif %}
{% if ticket.last_msg_direction == 'inbound' %}
call_receivedInbound
{% else %}
call_madeOutbound
{% endif %}
{{ ticket.last_msg_author }}
{{ ticket.last_msg_date }}
{{ ticket.last_msg_body }} |
{# Subject + snippet #}
{{ ticket.subject }}
{% if ticket.last_snippet %}
{{ ticket.last_snippet }} {% endif %} |
{# Product (icon only, tooltip shows name) #}
{% if ticket.product_type == 'business_care' %}
{% if ticket.id_product %}
BC
{% else %}
BC
{% endif %}
{% elif ticket.pico_url %}
{% if ticket.id_product %}
|
{# PS Version #}
{{ ticket.ps_version or '-' }} | {# Status badge #}{% if ticket.status == 'open' %} Open {% elif ticket.status == 'in_progress' %} In Progress {% elif ticket.status == 'waiting_customer' %} Waiting {% elif ticket.status == 'closed' %} Closed {% else %} {{ ticket.status }} {% endif %} | {# Priority badge #}{% if ticket.priority == 'p1' %} P1 {% elif ticket.priority == 'p2' %} P2 {% elif ticket.priority == 'p3' %} P3 {% else %} P4 {% endif %} | {# Support status #}{% if ticket.is_support_expired %} errorExpired {% else %} check_circleActive {% endif %} | {# Last activity #}{{ ticket.last_activity_at.strftime('%Y-%m-%d %H:%M') if ticket.last_activity_at else '-' }} |
|
inbox
No tickets found. Try adjusting your filters or sync new messages. |
|||||||||
Page {{ page }} of {{ total_pages }}