aboutsummaryrefslogtreecommitdiff
path: root/app/views/my_courses/groups.php
diff options
context:
space:
mode:
authorPhilipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de>2024-09-24 10:53:31 +0200
committerPhilipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de>2024-09-24 10:53:31 +0200
commit4459dd7917f4d1c34f40bb68f0e991e9c3d53e4c (patch)
tree5c07151ae61276d334e88f6309c30d439a85c12e /app/views/my_courses/groups.php
parentda0022e5c1abbf9825ae76debaabdff7e8623bb4 (diff)
parent97a188592c679890a25c37ab78463add76a52ff7 (diff)
Merge branch 'main' into issue-3911issue-3911
Diffstat (limited to 'app/views/my_courses/groups.php')
-rw-r--r--app/views/my_courses/groups.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/app/views/my_courses/groups.php b/app/views/my_courses/groups.php
index 22628c5..4476aeb 100644
--- a/app/views/my_courses/groups.php
+++ b/app/views/my_courses/groups.php
@@ -25,7 +25,7 @@
<thead>
<tr>
<th><?= _('Veranstaltung') ?></th>
- <th colspan="100%"><?= _('Gruppen/Farbe') ?></th>
+ <th colspan="100%"><?= _('Gruppe/Farbe') ?></th>
</tr>
</thead>
<? foreach ($groups as $group_id => $group_members): ?>
@@ -58,11 +58,14 @@
<? for ($i = 0; $i < 9; $i++): ?>
<td class="gruppe<?= $i ?> mycourses-group-selector" onclick="this.querySelector('input').checked = true;">
<input type="radio" name="gruppe[<?= $member['seminar_id'] ?>]" value="<?= $i ?>"
- aria-label="<?= _('Zugeordnet zu Gruppe ') . ($i + 1) ?>"
+ aria-label="<?= sprintf(_('Gruppe %u zuordnen'), $i + 1) ?>"
id="course-group-<?= htmlReady($member['seminar_id']) ?>-<?= $i ?>"
<? if ($my_sem[$member['seminar_id']]['gruppe'] == $i) echo 'checked'; ?>>
<label for="course-group-<?= htmlReady($member['seminar_id']) ?>-<?= $i ?>">
- <?= sprintf(_('Gruppe %u zuordnen'), $i + 1) ?>
+ <span class="group-number"><?= $i + 1 ?></span>
+ <span class="checked-icon">
+ <?= Icon::create('accept', Icon::ROLE_INFO)->asImg(20) ?>
+ </span>
</label>
</td>
<? endfor; ?>