fix: Sektions-Ueberschrift "Recherchebericht" statt "Analyse"
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Dieser Commit ist enthalten in:
@@ -359,7 +359,7 @@ async def generate_docx(
|
|||||||
|
|
||||||
if scope in ("report", "full"):
|
if scope in ("report", "full"):
|
||||||
# --- Lagebild ---
|
# --- Lagebild ---
|
||||||
doc.add_heading("Analyse" if incident.get("type") == "research" else "Lagebild", level=1)
|
doc.add_heading("Recherchebericht" if incident.get("type") == "research" else "Lagebild", level=1)
|
||||||
raw_summary = incident.get("summary") or "Keine Zusammenfassung verfügbar."
|
raw_summary = incident.get("summary") or "Keine Zusammenfassung verfügbar."
|
||||||
summary = _strip_citation_numbers(
|
summary = _strip_citation_numbers(
|
||||||
_truncate_lagebild(raw_summary, 4000) if scope == "report" else raw_summary
|
_truncate_lagebild(raw_summary, 4000) if scope == "report" else raw_summary
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ tr:nth-child(even) { background: #f8f9fa; }
|
|||||||
</div>
|
</div>
|
||||||
<!-- Lagebild -->
|
<!-- Lagebild -->
|
||||||
<div class="section">
|
<div class="section">
|
||||||
<h2>{% if incident.type == "research" %}Analyse{% else %}Lagebild{% endif %}</h2>
|
<h2>{% if incident.type == "research" %}Recherchebericht{% else %}Lagebild{% endif %}</h2>
|
||||||
{% if lagebild_timestamp %}<p style="font-size:9pt;color:#888;margin-bottom:10px;">Aktualisiert: {{ lagebild_timestamp }}</p>{% endif %}
|
{% if lagebild_timestamp %}<p style="font-size:9pt;color:#888;margin-bottom:10px;">Aktualisiert: {{ lagebild_timestamp }}</p>{% endif %}
|
||||||
<div class="lagebild-content">{{ lagebild_html | safe }}</div>
|
<div class="lagebild-content">{{ lagebild_html | safe }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
In neuem Issue referenzieren
Einen Benutzer sperren