diff --git a/lms/templates/dates_banner.html b/lms/templates/dates_banner.html index 3c79da9fbc..b090cbf1d9 100644 --- a/lms/templates/dates_banner.html +++ b/lms/templates/dates_banner.html @@ -87,16 +87,18 @@ additional_styling_class = 'on-mobile' if is_mobile_app else 'has-button' %def> % if not is_archived: - % if on_dates_tab and not missed_deadlines and getattr(course, 'self_paced', False): + % if on_dates_tab and not missed_deadlines: + %if getattr(course, 'self_paced', False):
- % endif - % if on_dates_tab and content_type_gating_enabled and not missed_deadlines: - ${upgrade_to_complete_graded_banner()} + % endif + % if content_type_gating_enabled: + ${upgrade_to_complete_graded_banner()} + % endif % elif missed_deadlines: % if missed_gated_content: ${upgrade_to_reset_banner()}