{% from 'topic_fields.html' import fields %}{% set analysis = topic_states.get(topic.id) %}

{{ topic.name }}

{% if topic.adult_content %}NSFW{% endif %}{% if not topic.enabled %}Im Papierkorb{% endif %}

{{ topic.description }}

{% if topic.enabled %}

{{ 'Bereit für die Suche · aktuelle Themenversion analysiert' if analysis and analysis.ready else 'Analyse erforderlich · Suchvektor fehlt für diese Themenversion und das aktuelle Modell' }}{% if analysis and analysis.analysis_at %}
Letzte Analyse: {{ timestamp(analysis.analysis_at) }}{% endif %}

{% if analysis and not analysis.ready %}
{% endif %}

Suchmodell: {{ analysis.model.model_name if analysis else 'noch keine Analyse' }} · Themenversion {{ topic.version }}

Bestand und Quellen: {{ 'Prüfung vorgemerkt' if topic.collection_status == 'pending' else 'Prüfung fehlgeschlagen' if topic.collection_status == 'failed' else 'Bestandsprüfung abgeschlossen' }}. Passende Bilder werden automatisch verknüpft.

{{ analysis.image_count if analysis else 0 }} verknüpfte Bilder ansehen → · Quellen zuordnen und Fortschritt →

Version {{ topic.version }} · Mindestähnlichkeit {{ topic.minimum_score }}

Neue Quellen für dieses Thema finden →
Thema bearbeiten
{{ fields(topic) }}
{% else %}

Thema entfernt. Quellen, Bildindex und Suchhistorie bleiben erhalten.

{% endif %}