diff --git a/app/views/admission/ruleadministration/index.php b/app/views/admission/ruleadministration/index.php index 6f63adb36be01645ad3d5498cccf5788f0b128c0..ca829a8ee730120b5458e41f3b8c61a89209b471 100644 --- a/app/views/admission/ruleadministration/index.php +++ b/app/views/admission/ruleadministration/index.php @@ -11,14 +11,20 @@ <? foreach ($ruleTypes as $type => $details): ?> <tr id="ruletype_<?= htmlReady($type) ?>"> <td> - <a href="<?= $controller->toggle_activation($type) ?>"> + <a href="<?= $controller->toggle_activation($type) ?>" role="button"> <? if ($details['active']): ?> <?= Icon::create('checkbox-checked')->asImg([ - 'title' => _('Diese Regel ist aktiv. Klicken Sie hier, um sie zu deaktivieren.') + 'title' => sprintf( + _('Die Regel "%s" ist aktiv. Klicken Sie hier, um sie zu deaktivieren.'), + $details['name'] + ) ]) ?> <? else: ?> <?= Icon::create('checkbox-unchecked')->asImg([ - 'title' => _('Diese Regel ist inaktiv. Klicken Sie hier, um sie zu aktivieren.') + 'title' => sprintf( + _('Die Regel "%s" ist inaktiv. Klicken Sie hier, um sie zu aktivieren.'), + $details['name'] + ) ]) ?> <? endif; ?> </a>