s/access/participate in/

enrollment restriction by end-date only prevents adding new submissions,
posts, etc. to the course; students can still access other read-only
aspects of the course.

fixes #5759

Change-Id: I41d0ac8d375471744e49082deb72476b1e2d9803
Reviewed-on: https://gerrit.instructure.com/5827
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
This commit is contained in:
Jacob Fugal 2011-09-26 15:03:05 -06:00
parent d259963460
commit 16f6757044
3 changed files with 4 additions and 4 deletions

View File

@ -257,13 +257,13 @@ Hashtags should consist of letters, numbers, dashes and underscores (no spaces).
<td>
<div class="course_form">
<%= f.check_box :restrict_enrollments_to_course_dates %>
<%= f.label :restrict_enrollments_to_course_dates, :en => "Users can only access the course between these dates" %>
<%= f.label :restrict_enrollments_to_course_dates, :en => "Users can only participate in the course between these dates" %>
<div style="font-size: 0.8em; padding-left: 25px;">
<%= t('course_overrides_term', %{This will override any term availability settings.}) %>
</div>
</div>
<div class="course_info restrict_dates" style="font-size: 0.8em;">
<%= @context.restrict_enrollments_to_course_dates ? t('date_restricted', "Users can only access the course between these dates") : t('not_date_restricted', "These dates will not affect course availability") %>
<%= @context.restrict_enrollments_to_course_dates ? t('date_restricted', "Users can only participate in the course between these dates") : t('not_date_restricted', "These dates will not affect course availability") %>
</div>
</td>
<% if available_locales.size > 1 %>

View File

@ -124,7 +124,7 @@ h3 .tally {
<tr>
<td colspan="2">
<%= f.check_box :restrict_enrollments_to_section_dates %>
<%= f.label :restrict_enrollments_to_section_dates, t('access_limit', "Users can only access the course between these dates") %>
<%= f.label :restrict_enrollments_to_section_dates, t('access_limit', "Users can only participate in the course between these dates") %>
<div style="font-size: 0.8em; padding-left: 25px;">
<%= t('override_settings', 'This will override any term or course date settings.') %>
</div>

View File

@ -274,7 +274,7 @@ I18n.scoped('course_settings', function(I18n) {
course.is_public = course.is_public ? I18n.t('public_course', 'Public') : I18n.t('private_course', 'Private');
course.indexed = course.indexed ? I18n.t('indexed_course', "Included in public course index") : "";
course.grading_scheme_set = course.grading_standard_title || (course.grading_standard_id ? I18n.t('grading_standard_set', "Currently Set") : I18n.t('grading_standard_unset', "Not Set"));
course.restrict_dates = course.restrict_enrollments_to_course_dates ? I18n.t('course_dates_enforced', "Users can only access the course between these dates") : I18n.t('course_dates_unenforced', "These dates will not affect course availability");
course.restrict_dates = course.restrict_enrollments_to_course_dates ? I18n.t('course_dates_enforced', "Users can only participate in the course between these dates") : I18n.t('course_dates_unenforced', "These dates will not affect course availability");
course.locale = $("#course_locale option[value='" + (course.locale || '') + "']").text();
if (course.locale != $course_form.find('.locale').text()) {
location.reload();