Allow a comment without a rating on scales instead of "Keine Angabe"
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:
1 parent
d6432911ed
commit
dbac9e93c7
14 files changed
+85
-105
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user