<div class="ie-banner" aria-hidden="true">${Text(_('{begin_strong}Warning:{end_strong} Your browser is not fully supported. We strongly recommend using {chrome_link} or {ff_link}.')).format(
% 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
% 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
<aclass="${'active ' if '/u/' in request.path else ''}tab-nav-link"href="${reverse('learner_profile', args=[self.real_user.username])}">
${_("Profile")}
<aclass="${'active ' if reverse('program_listing_view') in request.path else ''}tab-nav-link"href="${reverse('program_listing_view')}">
${_("Programs")}
</a>
</div>
% endif
% endif
</div>
<divclass="secondary">
% 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
<aclass="${'active ' if '/u/' in request.path else ''}tab-nav-link"href="${reverse('learner_profile', args=[self.real_user.username])}">
${_("Profile")}
</a>
</div>
% endif
% endif
</div>
<divclass="secondary">
% 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
<div class="ie-banner" aria-hidden="true">${Text(_('{begin_strong}Warning:{end_strong} Your browser is not fully supported. We strongly recommend using {chrome_link} or {ff_link}.')).format(