Edited wording of UI labels for configuring subsection prerequisites (gating)
This commit is contained in:
@@ -24,12 +24,12 @@
|
||||
</label>
|
||||
</li>
|
||||
<div id="prereq_min_score_error" class="message-status error">
|
||||
<%- gettext('Minimum score must be an integer between 0 and 100.') %>
|
||||
<%- gettext('The minimum score percentage must be a whole number 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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user