Skip to content
Snippets Groups Projects
Commit d0d22ad7 authored by Thomas Hackl's avatar Thomas Hackl
Browse files

show "exit course" action only for non-groupable courses, fixes #532

parent b7b74b64
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@
<?= Icon::create('door-leave+decline', 'inactive', ['title' => _("Die Teilnahme ist bindend. Bitte wenden Sie sich an die Lehrenden.")])->asImg(20) ?>
</a>
<?
else : ?>
elseif (!$values['is_group']) : ?>
<a href="<?= $controller->link_for('my_courses/decline', $course['seminar_id'], ['cmd' => 'suppose_to_kill']) ?>">
<?= Icon::create('door-leave', 'inactive', ['title' => _("aus der Veranstaltung abmelden")])->asImg(20) ?>
</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment