Skip to content
Snippets Groups Projects
info.html 932 B
Newer Older
Piotr Mitros's avatar
Piotr Mitros committed
<%inherit file="main.html" />
<%include file="course_navigation.html" args="active_page='info'" />
<%! 
  from courseware.courses import get_course_info_section
%>
Piotr Mitros's avatar
Piotr Mitros committed

Matthew Mongeau's avatar
Matthew Mongeau committed
<section class="container">
  <section class="course-content">
    <section class="courseware">
      <div class="info-wrapper">
        % if user.is_authenticated():
        <section class="updates">
          ${get_course_info_section(course, 'updates')}
Matthew Mongeau's avatar
Matthew Mongeau committed
        </section>
        <section aria-label="Handout Navigation" class="handouts">
          ${get_course_info_section(course, 'handouts')}
Matthew Mongeau's avatar
Matthew Mongeau committed
        </section>
        % else:
        <section class="updates">
          ${get_course_info_section(course, 'guest_updates')}
Matthew Mongeau's avatar
Matthew Mongeau committed
        </section>
        <section aria-label="Handout Navigation" class="handouts">
          ${get_course_info_section(course, 'guest_handouts')}
Matthew Mongeau's avatar
Matthew Mongeau committed
        </section>
        % endif
      </div>
Matthew Mongeau's avatar
Matthew Mongeau committed
  </section>
Piotr Mitros's avatar
Piotr Mitros committed
</section>