%page expression_filter="h"/> <%! from django.utils.translation import ugettext as _ from openedx.core.djangolib.markup import HTML, Text %>
% if self_paced:
${Text(_(
"Because the course has ended, this assignment is no longer "
"available.{line_break}If you have completed this assignment, your "
"grade is available on the {link_start}progress page{link_end}."
)).format(
line_break=HTML("
"),
link_start=HTML("").format(progress_url),
link_end=HTML(""),
)}
% else:
${Text(_(
"Because the due date has passed, this assignment is no longer "
"available.{line_break}If you have completed this assignment, your "
"grade is available on the {link_start}progress page{link_end}."
)).format(
line_break=HTML("
"),
link_start=HTML("").format(progress_url),
link_end=HTML(""),
)}
% endif