<%! from django.core.urlresolvers import reverse %> <% active_tab_class = 'active-tab-' + active_tab if active_tab else '' %>
% if context_course: <% ctx_loc = context_course.location %> ${context_course.display_name} › % endif
${ user.username } % if user.is_authenticated(): % else: Log in % endif