## mako
<%page expression_filter="h" args="online_help_token"/>
<%namespace name='static' file='../static_content.html'/>
<%namespace file='../main.html' import="login_query"/>
<%!
from django.core.urlresolvers import reverse
from django.utils.translation import ugettext as _
%>
<%block name="navigation_global_links_authenticated">
% if settings.FEATURES.get('COURSES_ARE_BROWSABLE') and not show_program_listing:
-
${_('Explore courses')}
% endif
% if show_dashboard_tabs:
-
${_("Courses")}
% if show_program_listing:
-
${_("Programs")}
% endif
<%
self.real_user = getattr(user, 'real_user', user)
is_on_profile_page = data and data.get('profile_user_id') is not None
%>
-
${_("Profile")}
% endif
% if settings.FEATURES.get('ENABLE_SYSADMIN_DASHBOARD','') and user.is_staff:
-
## Translators: This is short for "System administration".
${_("Sysadmin")}
% endif
%block>
<%include file="../user_dropdown.html"/>
${_("Help")}
% 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
-
${_("Shopping Cart")}
% endif