{% extends "base.html" %} {% block crumb %}Nội dung / Bài #{{ a.wp_id }}{% endblock %} {% block heading %}{{ a.title }}{% endblock %} {% block actions %}{{ icon('external', 16) }} Mở trên doppelherz.vn{% endblock %} {% macro issues(v) %} {% set items = v.compliance_issues or [] %} {% if not items %}
{{ icon('check', 13) }} Đạt
Không phát hiện vấn đề theo bộ luật R1–R6.
{% endif %} {% for i in items %}
{{ SEV_VI[i.severity] }}
{{ i.code }} · {{ RULE_VI.get(i.code.replace('AI-', ''), i.code) }}
{{ i.message }}
{% if i.excerpt %}
“{{ i.excerpt }}”
{% endif %}
{% endfor %} {% endmacro %} {% macro actions(v) %} {% if v.status == 'published' %}
{{ icon('check', 13) }} Đã đăng {{ fmt(v.published_at) }} · {{ v.remote_id }}
{% else %}
{% if v.status in ('needs_review', 'rejected', 'approved') %}
{% elif v.status == 'blocked' %} {% elif v.status == 'scheduled' %} {{ icon('clock', 13) }} Lên lịch {{ fmt(v.scheduled_at, '%H:%M · %d/%m') }} {% endif %}
{{ icon('edit', 14) }} Sửa nội dung — robot kiểm duyệt lại ngay
{% if v.channel == 'pinterest' %}{% endif %}
{{ icon('x', 14) }} Từ chối kèm góp ý cho AI viết lại
{% endif %} {% endmacro %} {% block content %}
Bài gốc trên website

{{ a.title }}

{{ a.published_at[:10] }} · {{ (a.categories or [])|join(', ') }}

{{ a.excerpt }}

{% set an = a.analysis or {} %} {% if an %} AI phân tích
Chủ đề
{{ an.topic }}
Đối tượng
{{ an.audience }}
Ý chính
{% for k in an.key_points %}
• {{ k }}
{% endfor %}
{% endif %}
Sổ XNQC
{% for p in prods %}
{{ p.short_name }}{{ p.xnqc or 'Chưa đọc được số XNQC' }}
    {% for c in p.claims %}
  • {{ c }}
  • {% endfor %}
{% else %}
Bài không nhắc tới sản phẩm nào.
{% endfor %}
f

Bản Facebook

{% if fb %}{{ STATUS_VI[fb.status] }}{{ icon('spark', 13) }} {{ 'Claude' if fb.ai_provider == 'claude' else 'Bộ sinh dự phòng' }}{% endif %}
{% if fb %}
D
Doppelherz
{{ 'Đã lên lịch · ' ~ fmt(fb.scheduled_at, '%d tháng %m lúc %H:%M') if fb.scheduled_at else 'Bản nháp' }} · {{ icon('globe', 12) }}
{{ icon('dots', 20) }}
{{ fb.body }}
{{ domain }}
{{ a.title }}
{{ a.excerpt }}
👍❤ Xem trước0 bình luận · 0 lượt chia sẻ
{{ icon('like', 18) }} Thích{{ icon('comment', 18) }} Bình luận{{ icon('share', 18) }} Chia sẻ

Kiểm duyệt tuân thủ

{{ issues(fb) }} {{ actions(fb) }} {% else %}
Không có bản Facebook (bài bị bỏ qua).
{% endif %}
P

Ghim Pinterest

{% if pin %}{{ STATUS_VI[pin.status] }}{% endif %}
{% if pin %}
{% if pin.image_path %}{{ pin.alt_text or '' }}{% endif %}LưuẢnh ghép tự động · AI_MODIFIED
{{ pin.title }}
{{ pin.body }}
D
Doppelherz Việt Nam
Bảng: {{ pin.board }}
Alt-text
{{ pin.alt_text }}
Link
{{ pin.link }}

Kiểm duyệt tuân thủ

{{ issues(pin) }} {{ actions(pin) }} {% else %}
Không có ghim Pinterest.
{% endif %}

Vết chạy thật của bài này

Từng bước robot đã làm, thời gian và chi phí AI{{ icon('flow', 14) }} Xem toàn bộ luồng
{% for t in a.trace or [] %}
{{ t.label }}{% if t.ms is not none %}{{ '{:,}'.format(t.ms).replace(',', '.') }} ms{% endif %}· {{ fmt(t.ts, '%H:%M:%S %d/%m') }}
{{ t.detail }}
{% else %}
Bài này được xử lý trước khi bật ghi vết.
{% endfor %}
{% endblock %}