## mako

<%! main_css = "style-main-v2" %>

<%page expression_filter="h"/>
<%inherit file="../main.html" />
<%namespace name='static' file='../static_content.html'/>
<%def name="online_help_token()"><% return "courseware" %></%def>
<%def name="course_name()">
<% return _("{course_number} Courseware").format(course_number=course.display_number_with_default) %>
</%def>

<%!
import json
from django.utils.translation import ugettext as _
from django.template.defaultfilters import escapejs

from django_comment_client.permissions import has_permission
from openedx.core.djangolib.js_utils import dump_js_escaped_json, js_escaped_string
from openedx.core.djangolib.markup import HTML
%>

<%block name="bodyclass">course</%block>

<%block name="pagetitle">${course_name()}</%block>

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

<%block name="head_extra">
${HTML(bookmarks_fragment.head_html())}
</%block>

<%block name="footer_extra">
${HTML(bookmarks_fragment.foot_html())}
</%block>

<%block name="content">
<div class="course-view container" id="course-container">
    <header class="page-header has-secondary">
        ## Breadcrumb navigation
        <div class="page-header-main">
            <nav aria-label="${_('My Bookmarks')}" class="sr-is-focusable" tabindex="-1">
                <div class="has-breadcrumbs">
                    <div class="breadcrumbs">
                        <span class="nav-item">
                            <a href="${course_url}">Course</a>
                        </span>
                        <span class="icon fa fa-angle-right" aria-hidden="true"></span>
                        <span class="nav-item">${_('My Bookmarks')}</span>
                    </div>
                </div>
            </nav>
        </div>
    </header>
    <div class="page-content">
        ${HTML(bookmarks_fragment.body_html())}
    </div>
</div>
</%block>
