aboutsummaryrefslogtreecommitdiff
path: root/app/views/shared/mvv_tree.php
diff options
context:
space:
mode:
authorPeter Thienel <thienel@data-quest.de>2026-03-13 14:22:33 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2026-03-13 15:22:33 +0100
commit5239fe23a8b6b3e266dc09fd25d8c805f60d78a3 (patch)
tree8648e1e05775791bce7d165d6fff5703c4e1ab59 /app/views/shared/mvv_tree.php
parent7c500597a37db933c9188d67bf8a9d4dbd13e0b7 (diff)
Resolve "MVV: Modul-Kurzdarstellung im VVZ"
Closes #6252 Merge request studip/studip!4745
Diffstat (limited to 'app/views/shared/mvv_tree.php')
-rw-r--r--app/views/shared/mvv_tree.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/shared/mvv_tree.php b/app/views/shared/mvv_tree.php
index 6a6c82d..38858b6 100644
--- a/app/views/shared/mvv_tree.php
+++ b/app/views/shared/mvv_tree.php
@@ -1,9 +1,9 @@
<? foreach ($tree[$node] as $current) : ?>
<li>
<? if ($current['class'] != 'Modulteil' && $current['id'] != 'root') : ?>
- <input id="<?= htmlReady($current['id'] . $id_sfx->c) ?>" type="checkbox"<?= $current['class'] != 'StgteilabschnittModul' ? 'checked' : ''?>>
+ <input id="<?= htmlReady($current['tree_id'] . $id_sfx->c) ?>" type="checkbox"<?= $current['class'] != 'StgteilabschnittModul' ? 'checked' : ''?>>
<? endif; ?>
- <label for="<?= htmlReady($current['id'] . $id_sfx->c++) ?>"></label>
+ <label for="<?= htmlReady($current['tree_id'] . $id_sfx->c++) ?>"></label>
<? if ($current['class'] == 'StgteilabschnittModul') : ?>
<a data-dialog title="<?= htmlReady($current['name']) ?>" href="<?= URLHelper::getLink('dispatch.php/shared/modul/overview/' . $current['id'] . '/' . $course->start_semester->id) ?>">
<?= htmlReady($current['name']) ?>
@@ -16,7 +16,7 @@
<? endif; ?>
<? if ($current['class'] != 'Modulteil') : ?>
<ul>
- <?= $this->render_partial('shared/mvv_tree.php', ['tree' => $tree, 'node' => $current['id']]) ?>
+ <?= $this->render_partial('shared/mvv_tree.php', ['tree' => $tree, 'node' => $current['tree_id']]) ?>
</ul>
<? endif; ?>
</li>