diff --git a/comprehensive/lms/templates/navigation.html b/comprehensive/lms/templates/navigation.html index f49b1a2..981678d 100644 --- a/comprehensive/lms/templates/navigation.html +++ b/comprehensive/lms/templates/navigation.html @@ -65,112 +65,115 @@ site_status_msg = get_site_status_msg(course_id) % if not enable_account_linking: - % if course: -

${course.display_org_with_default}: - ${course.display_number_with_default} - <% - display_name = course.display_name_with_default - if settings.FEATURES.get('CUSTOM_COURSES_EDX', False): - ccx = get_current_ccx(course.id) - if ccx: - display_name = ccx.display_name - %> - ${display_name}

- % endif - - % if user.is_authenticated(): - - <%include file="user_dropdown.html"/> - - % if should_display_shopping_cart_func() and not (course and static.is_request_in_themed_site()): # see shoppingcart.context_processor.user_has_cart_context_processor -
    -
  1. - - ${_("Shopping Cart")} - -
  2. -
- % endif - % else: - - - + % endif + % else: + <%include file="user_dropdown.html"/> % endif % if static.show_language_selector(): <% languages = static.get_released_languages() %> @@ -200,7 +203,6 @@ site_status_msg = get_site_status_msg(course_id) % endif % endif - % endif % if course: diff --git a/comprehensive/lms/templates/user_dropdown.html b/comprehensive/lms/templates/user_dropdown.html index f3b581e..18cda55 100644 --- a/comprehensive/lms/templates/user_dropdown.html +++ b/comprehensive/lms/templates/user_dropdown.html @@ -28,7 +28,7 @@ from openedx.core.djangoapps.user_api.accounts.image_helpers import get_profile_ ${_("Usermenu dropdown")} -