Allow a comment without a rating on scales instead of "Keine Angabe"
CI / Deploy / PHP 8.5 (push) Successful in 1m13s
CI / Deploy / PHP 8.4 (push) Successful in 1m18s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped

With the comment field enabled, scales and star ratings accept a
comment alone. It counts as taking part but not in the average or the
distribution; the number is shown separately. The explicit skip button
and its setting are removed again.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Sonnet 5.5 committed 2026-11-21 12:58:01 +01:00
1 parent d6432911ed
commit dbac9e93c7
14 files changed
+85 -105

No files matched your search

+2 -2
View File
@@ -205,8 +205,8 @@ $bar = function (float $percent, bool $ok = false): string {
<span class="muted"><?= !empty($r['stars'])
? __('von {0} Sternen', (int)$r['max'])
: __('auf einer Skala von {0} bis {1}', (int)$r['min'], (int)$r['max']) ?></span>
<?php if (!empty($r['skipped'])) : ?>
· <span class="muted"><?= __('{0}× „Keine Angabe“ (nicht im Durchschnitt)', (int)$r['skipped']) ?></span>
<?php if (!empty($r['commentOnly'])) : ?>
· <span class="muted"><?= __('{0}× nur Kommentar (nicht im Durchschnitt)', (int)$r['commentOnly']) ?></span>
<?php endif; ?>
</p>
<table>