diff --git a/messages/uniworx/de.msg b/messages/uniworx/de.msg index 7a8c55085..9f993af19 100644 --- a/messages/uniworx/de.msg +++ b/messages/uniworx/de.msg @@ -775,6 +775,7 @@ CommSuccess n@Int: Nachricht wurde an #{tshow n} Empfänger versandt CommCourseHeading: Kursmitteilung RecipientCustom: Weitere Empfänger +RecipientToggleAll: Alle/Keine RGCourseParticipants: Kursteilnehmer RGCourseLecturers: Kursverwalter diff --git a/static/css/utils/checkbox.scss b/static/css/utils/checkbox.scss index 9a73b01e7..6db7f97e3 100644 --- a/static/css/utils/checkbox.scss +++ b/static/css/utils/checkbox.scss @@ -74,3 +74,9 @@ filter: grayscale(1); } } + +/* special treatment for checkboxes in table headers */ +th .checkbox { + margin-right: 7px; + vertical-align: bottom; +} diff --git a/static/js/utils/checkAll.js b/static/js/utils/checkAll.js index 86749f2a9..5a15e0ac7 100644 --- a/static/js/utils/checkAll.js +++ b/static/js/utils/checkAll.js @@ -96,9 +96,9 @@ checkAllCheckbox.setAttribute('id', getCheckboxId()); th.insertBefore(checkAllCheckbox, th.firstChild); - // manually set up newly created checkbox + // manually set up new checkbox if (UtilRegistry) { - UtilRegistry.setup(UtilRegistry.find('checkbox')); + UtilRegistry.setup(UtilRegistry.find('checkbox'), th); } checkAllCheckbox.addEventListener('input', onCheckAllCheckboxInput); diff --git a/templates/widgets/communication/recipientLayout.hamlet b/templates/widgets/communication/recipientLayout.hamlet index c52ff534d..5f47cb7b7 100644 --- a/templates/widgets/communication/recipientLayout.hamlet +++ b/templates/widgets/communication/recipientLayout.hamlet @@ -1,14 +1,22 @@ $newline never -$forall category <- activeCategories -
- -