<%! from django.template.defaultfilters import escapejs %>
<%namespace name="renderer" file="_thread.html"/>

<%inherit file="../main.html" />
<%namespace name='static' file='../static_content.html'/>
<%block name="bodyclass">discussion</%block>
<%block name="title"><title>Discussion – MITx 6.002x</title></%block>

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

<%block name="js_extra">
<%include file="_js_dependencies.html" />
</%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}
    </section>
  </div>
</section>

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