## 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"> <% site_status_msg = get_site_status_msg() %> % if site_status_msg:

${site_status_msg}

% endif % if course:
% else:
% endif %endif
%if not user.is_authenticated(): <%include file="login_modal.html" /> <%include file="signup_modal.html" /> <%include file="forgot_password_modal.html" /> %endif