Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
2a5b6c9a
Commit
2a5b6c9a
authored
Feb 01, 2016
by
Peter Desjardins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edited wording of UI labels for configuring subsection prerequisites (gating)
parent
6723b896
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
cms/templates/js/access-editor.underscore
+3
-3
common/lib/xmodule/xmodule/course_module.py
+4
-2
No files found.
cms/templates/js/access-editor.underscore
View file @
2a5b6c9a
...
...
@@ -24,12 +24,12 @@
</label>
</li>
<div id="prereq_min_score_error" class="message-status error">
<%- gettext('
Minimum score must be an integ
er between 0 and 100.') %>
<%- gettext('
The minimum score percentage must be a whole numb
er between 0 and 100.') %>
</div>
</ul>
</div>
<% } %>
<h3 class="modal-section-title"><%- gettext('Use
this
as a Prerequisite') %></h3>
<h3 class="modal-section-title"><%- gettext('Use as a Prerequisite') %></h3>
<div class="modal-section-content gating-is-prereq">
<ul class="list-fields list-input">
<li class="field field-checkbox checkbox-cosmetic">
...
...
@@ -37,7 +37,7 @@
<label for="is_prereq" class="label">
<i class="icon fa fa-check-square-o input-checkbox-checked"></i>
<i class="icon fa fa-square-o input-checkbox-unchecked"></i>
<%- gettext('
Yes, set this as a prerequisite which can be used to limit access
to other content') %>
<%- gettext('
Make this subsection available as a prerequisite
to other content') %>
</label>
</li>
</ul>
...
...
common/lib/xmodule/xmodule/course_module.py
View file @
2a5b6c9a
...
...
@@ -756,9 +756,11 @@ class CourseFields(object):
)
enable_subsection_gating
=
Boolean
(
display_name
=
_
(
"Enable Subsection
Gating
"
),
display_name
=
_
(
"Enable Subsection
Prerequisites
"
),
help
=
_
(
"Enter true or false. If this value is true, subsection gating is enabled in your course."
"Enter true or false. If this value is true, you can hide a "
"subsection until learners earn a minimum score in another, "
"prerequisite subsection."
),
default
=
False
,
scope
=
Scope
.
settings
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment