fix: redirect behavior to learner-specific progress pages
JIRA:AU-375
This commit is contained in:
@@ -98,7 +98,7 @@ def reset_course_deadlines(request):
|
||||
if course_home_legacy_is_active(course_key):
|
||||
body_link = '{}{}'.format(settings.LMS_ROOT_URL, reverse('dates', args=[str(course_key)]))
|
||||
else:
|
||||
body_link = get_learning_mfe_home_url(course_key=str(course_key), view_name='dates')
|
||||
body_link = get_learning_mfe_home_url(course_key=str(course_key), url_fragment='dates')
|
||||
|
||||
return Response({
|
||||
'body': format_html('<a href="{}">{}</a>', body_link, _('View all dates')),
|
||||
|
||||
Reference in New Issue
Block a user