<%! from django.template.defaultfilters import escapejs %>

<%inherit file="../main.html" />
<%namespace name='static' file='../static_content.html'/>
<%block name="bodyclass">discussion</%block>
<%block name="title"><title>Discussion – ${course.number | h}</title></%block>

<%block name="headextra">
<%static:css group='course'/>
<%include file="_js_head_dependencies.html" />
</%block>

<%block name="js_extra">
<%include file="_js_body_dependencies.html" />
<%static:js group='discussion'/>
</%block>

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

<section class="container">
  <div class="course-wrapper">
    <section aria-label="User Profile" class="user-profile">
      <nav>
        
        <article class="sidebar-module discussion-sidebar">
          <%include file="_user_profile.html" />
        </article>

      </nav>
    </section>

    <section class="course-content">
      ${content.decode('utf-8')}
    </section>
  </div>
</section>

<script type="text/javascript">
  var $$profiled_user_id = "${django_user.id | escapejs}";
  var $$course_id = "${course.id | escapejs}";
</script>
