Funktionen/News: Schlussdurchgang (Webhook-Retry, Checkout-Sitzung, Rechnungslink, Widerruf Funktion, UI- und Rechtstext-Korrekturen)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0dc57fe5e8
commit
4b7f73abba
22 files changed
+400
-57
No files matched your search
+2
-2
@@ -137,7 +137,7 @@ function projectState(project) {
|
||||
return ['kb-state-off', 'Noch keine Website']
|
||||
}
|
||||
|
||||
const FEATURE_LABELS = { preview: 'Vorschau', chat: 'Chat', invoices: 'Rechnungen' }
|
||||
const FEATURE_LABELS = { preview: 'Vorschau', chat: 'Chat', invoices: 'Rechnungen', news: 'News-Pinnwand' }
|
||||
|
||||
function renderProjectCard(project, features) {
|
||||
const li = document.createElement('li')
|
||||
@@ -146,7 +146,7 @@ function renderProjectCard(project, features) {
|
||||
const url = project.previewUrl ? escapeAttr(project.previewUrl) : ''
|
||||
const [stateClass, stateText] = projectState(project)
|
||||
const extraChips = featuresForProject(features, project.id)
|
||||
.map((f) => FEATURE_LABELS[f.featureKey] || f.featureKey)
|
||||
.map((f) => FEATURE_LABELS[f.featureKey]) // unbekannte Schluessel nie roh anzeigen
|
||||
.filter((label) => label && !['Vorschau', 'Chat', 'Rechnungen'].includes(label))
|
||||
|
||||
li.innerHTML = `
|
||||
|
||||
Reference in new issue
Block a user