{% include "_nav.html" %}
通知中心
返回仪表板
{% set active_type = type_filter|join(',') %} 全部 {% for t in [('extract_complete', '提炼'), ('conflict_detected', '冲突'), ('expiry_alert', '过期')] %} {{ t[1] }} {% endfor %} {% if status_filter %} 清除状态过滤 {% endif %}
{% if notif_list %} {% for n in notif_list %}
{{ '🔔' if n.type == 'extract_complete' else '⚠' if n.type == 'conflict_detected' else '📋' }}
{{ n.title }} {% if n.metadata and n.metadata.get('extracted_count') %} {{ n.metadata.extracted_count }} 条 {% endif %} {{ n._time_ago }}
{{ n.message }}
{% if n.metadata %} {% for k, v in n.metadata.items() %}
{{ k }}: {% if v is mapping or v is sequence and v is not string %} {{ v|tojson }} {% else %} {{ v }} {% endif %}
{% endfor %} {% else %}
暂无详细信息
{% endif %}
{% if n.type == 'conflict_detected' %} 查看详情 → {% elif n.type == 'expiry_alert' %} 查看详情 → {% elif n.type == 'extract_complete' %} 查看详情 → {% elif n.link %} 查看详情 → {% endif %}
{% if n.type == 'expiry_alert' %} {% endif %} {% if not n.read %}
{% endif %}
{% endfor %} {% set total_pages = (total + limit - 1) // limit %} {% if total_pages > 1 %} {% endif %} {% else %}

暂无通知

{% endif %}