Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
code.vt.edu will be down for maintenance from 0530-0630 EDT Wednesday, March 26th
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
7ac436c2
Commit
7ac436c2
authored
7 years ago
by
Sven Marnach
Browse files
Options
Downloads
Patches
Plain Diff
Add flag to configure whether "Notify users by email" is checked by default.
parent
a6392e51
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lms/envs/common.py
+4
-0
4 additions, 0 deletions
lms/envs/common.py
lms/templates/instructor/instructor_dashboard_2/membership.html
+2
-1
2 additions, 1 deletion
...mplates/instructor/instructor_dashboard_2/membership.html
with
6 additions
and
1 deletion
lms/envs/common.py
+
4
−
0
View file @
7ac436c2
...
...
@@ -388,6 +388,10 @@ FEATURES = {
# Allow users to change their email address.
'
ALLOW_EMAIL_ADDRESS_CHANGE
'
:
True
,
# Whether to check the "Notify users by email" checkbox in the batch enrollment form
# in the instructor dashboard.
'
BATCH_ENROLLMENT_NOTIFY_USERS_DEFAULT
'
:
True
,
}
# Settings for the course reviews tool template and identification key, set either to None to disable course reviews
...
...
This diff is collapsed.
Click to expand it.
lms/templates/instructor/instructor_dashboard_2/membership.html
+
2
−
1
View file @
7ac436c2
...
...
@@ -64,7 +64,8 @@ from django.utils.translation import ugettext as _
</div>
<div
class=
"enroll-option"
>
<label
class=
"has-hint"
>
<input
type=
"checkbox"
name=
"email-students"
id=
"email-students"
value=
"Notify-students-by-email"
checked=
"yes"
aria-describedby=
"heading-batch-enrollment"
>
<input
type=
"checkbox"
name=
"email-students"
id=
"email-students"
value=
"Notify-students-by-email"
aria-describedby=
"heading-batch-enrollment"
${'
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-hint"
>
<span
class=
"hint-caret"
></span>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment