<%inherit file="/main.html" />
<%namespace name='static' file='/static_content.html'/>
<%!
from django.utils.translation import ugettext as _
from courseware.courses import get_course_syllabus_section
%>

<%block name="headextra">
<%static:css group='style-course-vendor'/>
<%static:css group='style-course'/>
</%block>

<%block name="pagetitle">${_("{course.display_number_with_default} Course Info").format(course=course) | h}</%block>

<%include file="/courseware/course_navigation.html" args="active_page='syllabus'" />

<section class="container">
  <div class="syllabus_wrapper">
    <div class="syllabus">
        <h1>${_("Syllabus")}</h1>
        % if user.is_authenticated():
        ${get_course_syllabus_section(course, 'syllabus')}
        % else:
        ${get_course_syllabus_section(course, 'guest_syllabus')}
        % endif
    </div>
  </div>
</section>
