From 9c162d14ac304b97a959b035ec3b56f296cacf37 Mon Sep 17 00:00:00 2001 From: Dotty Dotter Date: Fri, 10 Apr 2026 21:41:15 +0200 Subject: [PATCH] UI: Warning-Text verbessert + Antragsteller:in/Landesregierung Labels als Badges --- app/templates/index.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/app/templates/index.html b/app/templates/index.html index 60af7fe..5e07d72 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -1638,15 +1638,18 @@ const wpZitateCount = (wp.wahlprogramm?.zitate || []).length; const noQuotesWarning = (wpScore > 0 && wpZitateCount === 0) ? `
- ⚠ Keine belegbaren Quellen im Index gefunden — Score basiert auf LLM-Einschätzung, nicht auf verifizierten Programm-Stellen. + ⚠ Zu diesem Themenkomplex konnten keine konkreten Formulierungen im Wahlprogramm gefunden werden — Score basiert auf der allgemeinen Programmatik der Partei.
` : ''; + // Labels: Antragsteller:in und Landesregierung + const roleLabels = []; + if (wp.istAntragsteller) roleLabels.push('Antragsteller:in'); + if (wp.istRegierung) roleLabels.push('Landesregierung'); + return `
- ${wp.fraktion} - ${wp.istAntragsteller ? ' (Antragsteller)' : ''} - ${wp.istRegierung ? ' (Regierung)' : ''}
+ ${wp.fraktion} ${roleLabels.join(' ')}
Wahlprogramm: ${wp.wahlprogramm?.score || '-'}/10 · Parteiprogramm: ${wp.parteiprogramm?.score || '-'}/10