%
# Copyright (C) 2023 - present Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License along
# with this program. If not, see
<%= mt :term_runs_from, "**Term Runs** from" %> | <%= render :partial => 'timespan', :locals => { object: term, key: '', idx: '1', start_tooltip: t('titles.term_starts', "Term starts"), end_tooltip: t('titles.term_ends', "Term ends"), whenever: [true, true] } %>|||
<% case type_string when 'student_enrollment' start_tooltip = t 'tooltips.term_starts_students', "For students the term starts" end_tooltip = t 'tooltips.term_ends_students', "For students the term ends" access_label = mt 'labels.students_can_access_from', "**Students** can access from" start_whenever = false when 'teacher_enrollment' start_tooltip = t 'tooltips.term_starts_teachers', "For teachers the term starts" end_tooltip = t 'tooltips.term_ends_teachers', "For teachers the term ends" access_label = mt 'labels.teachers_can_access_from', "**Teachers** can access from" when 'ta_enrollment' start_tooltip = t 'tooltips.term_starts_tas', "For TAs the term starts" end_tooltip = t 'tooltips.term_ends_tas', "For TAs the term ends" access_label = mt 'labels.tas_can_access_from', "**TAs** can access from" when 'designer_enrollment' start_tooltip = t 'tooltips.term_starts_designers', "For designers the term starts" end_tooltip = t 'tooltips.term_ends_designers', "For designers the term ends" access_label = mt 'labels.designers_can_access_from', "**Designers** can access from" end %> <%= access_label %> | <%= render :partial => 'timespan', :locals => { object: override, key: "[overrides][#{type_string}]", idx: idx, start_tooltip: start_tooltip, end_tooltip: end_tooltip, date_class_prefix: "#{type_string}_", whenever: [start_whenever, false] } %>|||
<% if term && term.root_account.feature_enabled?(:course_paces) %>
<%= t("Changing the course participation will republish all course pacing with any new dates using term participation.") %>
<% end %>
|