{% extends "base.html" %} {% block title %}التسجيل - {{ record.file_name }}{% endblock %} {% block content %}

{{ record.file_name }}

العودة

الشخص: {{ record.client.name }}

التاريخ: {{ record.created_at.strftime('%Y-%m-%d %H:%M') }}

الحالة: {% if record.processing_status == 'completed' %} مكتمل {% elif record.processing_status == 'processing' %} جاري المعالجة
يرجى الانتظار... {% elif record.processing_status == 'failed' %} فشل {% if record.error_message %}
{{ record.error_message }} {% endif %} {% else %} قيد الانتظار {% endif %}

{% if record.processing_status == 'completed' %} {% if record.text %}
النص المفرغ

{{ record.text }}

{% endif %} {% if record.analysis %}
ملخص التحليل
{% if record.analysis.note %}
{{ record.analysis.note }}
{% endif %}
الملخص:

{{ record.analysis.summary }}

{% if record.analysis.keywords %}
الكلمات المفتاحية:

{% for keyword in record.analysis.keywords %} {{ keyword }} {% endfor %}

{% endif %}
{% endif %} {% if record.report %}
التقرير النهائي

تقرير {{ record.report.report_type|upper }}

عرض التقرير تحميل Word {% if record.report.report_pdf %} تحميل PDF {% endif %}
{% endif %} {% elif record.processing_status == 'processing' %}
جاري المعالجة...
جاري معالجة التسجيل

يرجى الانتظار... قد يستغرق هذا بضع دقائق

{% endif %}
{% if record.processing_status == 'processing' %} {% endif %} {% endblock %}