aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFinn Schneider <schneider@data-quest.de>2026-03-19 15:59:52 +0100
committerFinn Schneider <schneider@data-quest.de>2026-03-19 15:59:52 +0100
commitbe2a37e22c64711d0c27b522b17176665a01a688 (patch)
tree10deb795d1c71a17b1d8e3da19a6afc2dbcad852
parentc3dbbd7e1ee95049858008af6b45b47aa228969e (diff)
archive sem nr
-rw-r--r--app/controllers/evaluation/assign.php3
-rw-r--r--app/views/evaluation/archive/index.php8
2 files changed, 8 insertions, 3 deletions
diff --git a/app/controllers/evaluation/assign.php b/app/controllers/evaluation/assign.php
index 216be95..64b1d2a 100644
--- a/app/controllers/evaluation/assign.php
+++ b/app/controllers/evaluation/assign.php
@@ -156,7 +156,8 @@ class Evaluation_AssignController extends AuthenticatedController
$eval->applied = 1;
$eval->course_metadata = json_encode([
'course_title' => $course->name,
- 'evaluated_persons' => $persons
+ 'evaluated_persons' => $persons,
+ 'sem_nr' => $course->veranstaltungsnummer
]);
$eval->institute_id = $course->institut_id;
diff --git a/app/views/evaluation/archive/index.php b/app/views/evaluation/archive/index.php
index ac17f68..f559bf5 100644
--- a/app/views/evaluation/archive/index.php
+++ b/app/views/evaluation/archive/index.php
@@ -19,6 +19,7 @@ use Studip\Button;
</th>
<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="digit" scope="col"><?= _('Start') ?></th>
<th data-sort="digit" scope="col"><?= _('Ende') ?></th>
@@ -44,6 +45,9 @@ use Studip\Button;
$assignment->course_metadata['course_title'] : '') ?>
</td>
<td>
+ <?= htmlReady($assignment->course_metadata['sem_nr']) ?>
+ </td>
+ <td>
<?php if (isset($assignment->course_metadata['evaluated_persons'])) : ?>
<?php foreach ($assignment->course_metadata['evaluated_persons'] as $person) : ?>
<?= htmlReady($person) ?><br/>
@@ -60,7 +64,7 @@ use Studip\Button;
<?php endforeach ?>
<?php else : ?>
<tr>
- <td colspan="6" style="text-align: center">
+ <td colspan="7" style="text-align: center">
<?= _('Es stehen keine Evaluationen zur Verfügung.') ?>
</td>
</tr>
@@ -68,7 +72,7 @@ use Studip\Button;
</tbody>
<tfoot>
<tr>
- <td colspan="6">
+ <td colspan="7">
<?= Button::create(_("Löschen"), "bulkdelete", [
'formaction' => $controller->bulk('delete'),
'data-confirm' => _("Wirklich löschen?")