Skip to content

Commit

Permalink
feat: allow disabling default beta tester enrollment notifications
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mohd-akram authored Aug 14, 2023
1 parent f961453 commit 43b2255
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ <h3 class="hd hd-3">${_("Register/Enroll Students")}</h3>
</div>
<div class="enroll-option">
<label class="has-hint">
<input type="checkbox" name="email-students-beta" id="email-students-beta" value="Notify-students-by-email" checked="yes" aria-describedby="heading-batch-beta-testers">
<input type="checkbox" name="email-students-beta" id="email-students-beta" value="Notify-students-by-email" aria-describedby="heading-batch-beta-testers"
${'checked="yes"' if settings.FEATURES.get('BATCH_ENROLLMENT_NOTIFY_USERS_DEFAULT') else ''}>
<span class="label-text">${_("Notify users by email")}</span>
<div class="hint email-students-beta-hint">
<span class="hint-caret"></span>
Expand Down

0 comments on commit 43b2255

Please sign in to comment.