aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/course/evaluation/index.php2
-rw-r--r--app/views/evaluation/archive/index.php8
2 files changed, 7 insertions, 3 deletions
diff --git a/app/views/course/evaluation/index.php b/app/views/course/evaluation/index.php
index 9c69062..9e3efc9 100644
--- a/app/views/course/evaluation/index.php
+++ b/app/views/course/evaluation/index.php
@@ -18,7 +18,7 @@
<h2><?= _('Vielen Dank für Ihre Teilnahme!') ?></h2>
<?php endif ?>
- <?php if ($evaluation->resultsVisible() || ($evaluation->isAnswerable() && $evaluation->isAnswered() )) : ?>
+ <?php if ($evaluation->resultsVisible() || ($evaluation->isAnswerable() && $evaluation->isAnswered())) : ?>
<?= $this->render_partial('questionnaire/evaluate.php',
['questionnaire' => $evaluation, 'range_type' => 'course', 'range_id' => Context::getId()]) ?>
<?php elseif ($evaluation->isAnswerable()) : ?>
diff --git a/app/views/evaluation/archive/index.php b/app/views/evaluation/archive/index.php
index 7d11590..93a5117 100644
--- a/app/views/evaluation/archive/index.php
+++ b/app/views/evaluation/archive/index.php
@@ -20,6 +20,7 @@ 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" scope="col"><?= _('Einrichtung') ?></th>
<th data-sort="text" scope="col"><?= _('Studiengang') ?></th>
<th data-sort="text" scope="col"><?= _('Evaluierte') ?></th>
<th data-sort="digit" scope="col"><?= _('Start') ?></th>
@@ -49,6 +50,9 @@ use Studip\Button;
<?= htmlReady($assignment->course_metadata['sem_nr']) ?>
</td>
<td>
+ <?= Institute::find($assignment->institute_id) ?>
+ </td>
+ <td>
<?php if (isset($assignment->course_metadata['study_programs'])) : ?>
<?php foreach ($assignment->course_metadata['study_programs'] as $program) : ?>
<?= htmlReady($program) ?><br/>
@@ -75,7 +79,7 @@ use Studip\Button;
<?php endforeach ?>
<?php else : ?>
<tr>
- <td colspan="9" style="text-align: center">
+ <td colspan="10" style="text-align: center">
<?= _('Es stehen keine Evaluationen zur Verfügung.') ?>
</td>
</tr>
@@ -83,7 +87,7 @@ use Studip\Button;
</tbody>
<tfoot>
<tr>
- <td colspan="9">
+ <td colspan="10">
<?= Button::create(_("Löschen"), "bulkdelete", [
'formaction' => $controller->bulk('delete'),
'data-confirm' => _("Wirklich löschen?")