## mako ## TODO: Split this into two files, one for people who are authenticated, and ## one for people who aren't. Assume a Course object is passed to the former, ## instead of using settings.COURSE_TITLE <%namespace name='static' file='static_content.html'/> <%! from django.core.urlresolvers import reverse # App that handles subdomain specific branding import branding # app that handles site status messages from status.status import get_site_status_msg %> <%block cached="False"> <% try: course_id = course.id except: # can't figure out a better way to get at a possibly-defined course var course_id = None site_status_msg = get_site_status_msg(course_id) %> % if site_status_msg:

${site_status_msg}

% endif % if course:
% else:
% endif
% if course:
Warning: Your browser is not fully supported. We strongly recommend using Chrome or Firefox.
% endif %if not user.is_authenticated(): <%include file="login_modal.html" /> <%include file="signup_modal.html" /> <%include file="forgot_password_modal.html" /> %endif