Skip to content

Commit 13bda07

Browse files
mohd-akramAgrendalath
authored andcommitted
feat: allow disabling default beta tester enrollment notifications
The "Notify users by email" checkbox checks the value of the `BATCH_ENROLLMENT_NOTIFY_USERS_DEFAULT` configuration to match the user experience with other checkboxes on the Membership page. (cherry picked from commit 43b2255)
1 parent 6a20ffc commit 13bda07

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lms/templates/instructor/instructor_dashboard_2/membership.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ <h3 class="hd hd-3">${_("Register/Enroll Students")}</h3>
118118
</div>
119119
<div class="enroll-option">
120120
<label class="has-hint">
121-
<input type="checkbox" name="email-students-beta" id="email-students-beta" value="Notify-students-by-email" checked="yes" aria-describedby="heading-batch-beta-testers">
121+
<input type="checkbox" name="email-students-beta" id="email-students-beta" value="Notify-students-by-email" aria-describedby="heading-batch-beta-testers"
122+
${'checked="yes"' if settings.FEATURES.get('BATCH_ENROLLMENT_NOTIFY_USERS_DEFAULT') else ''}>
122123
<span class="label-text">${_("Notify users by email")}</span>
123124
<div class="hint email-students-beta-hint">
124125
<span class="hint-caret"></span>

0 commit comments

Comments
 (0)