aboutsummaryrefslogtreecommitdiff
path: root/app/views/evaluation/profiles/index.php
diff options
context:
space:
mode:
authorFinn Schneider <schneider@data-quest.de>2026-03-17 15:07:03 +0100
committerFinn Schneider <schneider@data-quest.de>2026-03-17 15:07:03 +0100
commit4ad57b38335daea07cfc6c67219f9a2caf18e9ec (patch)
tree1608925e3cca4cc426a8c859495bbfe914a4329d /app/views/evaluation/profiles/index.php
parent7ff92562d33b02728e9933adbaa4840fdbfcb15b (diff)
profiles always editable
Diffstat (limited to 'app/views/evaluation/profiles/index.php')
-rw-r--r--app/views/evaluation/profiles/index.php20
1 files changed, 5 insertions, 15 deletions
diff --git a/app/views/evaluation/profiles/index.php b/app/views/evaluation/profiles/index.php
index 75bafbf..8244a41 100644
--- a/app/views/evaluation/profiles/index.php
+++ b/app/views/evaluation/profiles/index.php
@@ -37,22 +37,12 @@ use Studip\Button;
<td>
<input type="checkbox" name="profiles[]" value="<?= htmlReady($profile->semester_id) ?>">
</td>
- <?php if ($profile->isEditable()) : ?>
- <td data-text="<?= $profile->semester->beginn ?>">
- <a href="<?= $controller->link_for("evaluation/profiles/edit/" . $profile->semester_id) ?>"
- data-dialog>
- <?= htmlReady($profile->semester->name) ?>
- </a>
- </td>
- <?php else : ?>
- <td data-text="<?= $profile->semester->beginn ?>"
- title="<?= sprintf(
- _('Mindestens eine Evaluation des Profils %s ist gestartet. Es kann nicht mehr bearbeitet werden.'),
- $profile->semester->name)
- ?>">
+ <td data-text="<?= $profile->semester->beginn ?>">
+ <a href="<?= $controller->link_for("evaluation/profiles/edit/" . $profile->semester_id) ?>"
+ data-dialog>
<?= htmlReady($profile->semester->name) ?>
- </td>
- <?php endif ?>
+ </a>
+ </td>
<td><?= htmlReady($profile->template->title) ?></td>
<td>
<?php foreach (Questionnaire::findMany(explode(',', $profile->optional_templates)) as $opt_template) : ?>