aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFinn Schneider <schneider@data-quest.de>2026-03-19 17:55:00 +0100
committerFinn Schneider <schneider@data-quest.de>2026-03-19 17:55:00 +0100
commite0bcedd0d35a0fc5cdf53dc64dc7a845f7accacd (patch)
tree5525e04651261f616a4b21976b4820e1336d1402
parent23b758c640560090d2ca43f871eee1ff0e10faa0 (diff)
archive responses column
-rw-r--r--app/views/evaluation/archive/index.php13
1 files changed, 8 insertions, 5 deletions
diff --git a/app/views/evaluation/archive/index.php b/app/views/evaluation/archive/index.php
index f559bf5..f72aded 100644
--- a/app/views/evaluation/archive/index.php
+++ b/app/views/evaluation/archive/index.php
@@ -20,9 +20,10 @@ use Studip\Button;
<th data-sort="text" scope="col"><?= _('Titel') ?></th>
<th data-sort="text" scope="col"><?= _('Veranstaltung') ?></th>
<th data-sort="digit" scope="col"><?= _('Nr.') ?></th>
- <th data-sort="text"><?= _('Evaluierte') ?></th>
+ <th data-sort="text" scope="col"><?= _('Evaluierte') ?></th>
<th data-sort="digit" scope="col"><?= _('Start') ?></th>
<th data-sort="digit" scope="col"><?= _('Ende') ?></th>
+ <th data-sort="digit" scope="col"><?= _('Rücklauf') ?></th>
</tr>
</thead>
<tbody>
@@ -41,8 +42,7 @@ use Studip\Button;
</td>
<?php $assignment = $evaluation->eval_assignment ?>
<td>
- <?= htmlReady(isset($assignment->course_metadata['course_title']) ?
- $assignment->course_metadata['course_title'] : '') ?>
+ <?= htmlReady($assignment->course_metadata['course_title'] ?? '') ?>
</td>
<td>
<?= htmlReady($assignment->course_metadata['sem_nr']) ?>
@@ -60,11 +60,14 @@ use Studip\Button;
<td data-text="<?= $evaluation->stopdate?>">
<?= date('d.m.Y H:i', $evaluation->stopdate) ?>
</td>
+ <td>
+ <?= $evaluation->countAnswers() ?>
+ </td>
</tr>
<?php endforeach ?>
<?php else : ?>
<tr>
- <td colspan="7" style="text-align: center">
+ <td colspan="8" style="text-align: center">
<?= _('Es stehen keine Evaluationen zur Verfügung.') ?>
</td>
</tr>
@@ -72,7 +75,7 @@ use Studip\Button;
</tbody>
<tfoot>
<tr>
- <td colspan="7">
+ <td colspan="8">
<?= Button::create(_("Löschen"), "bulkdelete", [
'formaction' => $controller->bulk('delete'),
'data-confirm' => _("Wirklich löschen?")