diff --git a/app/views/admin/user/show_user_courses.php b/app/views/admin/user/show_user_courses.php index c8fbb1b17b8308572bb5dd93bdc7ebc7b2a8e683..ef07aba31fd729ed2ad29ddbd7acd90632a63fb7 100644 --- a/app/views/admin/user/show_user_courses.php +++ b/app/views/admin/user/show_user_courses.php @@ -22,7 +22,7 @@ <thead> <tr> <th> - <input type="checkbox" name="all" value="1" + <input type="checkbox" name="all" value="1" title="<?= _('Alle Veranstaltungen auswählen') ?>" data-proxyfor="tbody#courses-<?= md5($sem_name) ?> td :checkbox"> </th> <th><?= _('Veranstaltungsname') ?></th> @@ -32,14 +32,24 @@ <tbody id="courses-<?= md5($sem_name) ?>"> <? foreach ($courses as $course) : ?> <tr> - <td><input type="checkbox" name="courses[]" value="<?= htmlReady($course->id) ?>"></td> + <td> + <input type="checkbox" name="courses[]" value="<?= htmlReady($course->id) ?>" + title="<?= sprintf(_('%s auswählen'), htmlReady($course->getFullname())) ?>"> + </td> <td><?= htmlReady($course->getFullname()) ?></td> <td class="actions"> <?= Icon::create('trash')->asInput([ - 'formaction' => $controller->delete_course_assignment($user, ['course_id' => $course->id]), + 'formaction' => $controller->delete_course_assignment( + $user, + ['course_id' => $course->id] + ), 'data-confirm' => sprintf( _('Wollen Sie %s wirklich austragen?'), - $user->getFullName() + htmlReady($user->getFullName()) + ), + 'title' => sprintf( + _('Aus %s austragen'), + htmlReady($course->getFullname()) ), 'data-dialog' => 'size=auto' ]) ?>