<%page expression_filter="h"/> <%inherit file="/main.html" /> <%namespace name='static' file='/static_content.html'/> <%! from django.utils.translation import ugettext as _ from edxnotes.helpers import NoteJSONEncoder from openedx.core.djangolib.markup import Text, HTML from openedx.core.djangolib.js_utils import dump_js_escaped_json, js_escaped_string %> <%block name="bodyclass">view-student-notes is-in-course course <%block name="pagetitle">${_("Student Notes")} <%block name="headextra"> <%static:css group='style-course'/> <%include file="/courseware/course_navigation.html" args="active_page='edxnotes'" />

${_('Notes')} ${_("Highlights and notes you've made in course content")}

% if has_notes: % endif
% if has_notes:
${_("Loading")}
% else:

${_('You have not made any notes in this course yet. Other students in this course are using notes to:')}

  • ${_("Mark a passage or concept so that it's easy to find later.")}
  • ${_('Record thoughts about a specific passage or concept.')}
  • ${_('Highlight important information to review later in the course or in future courses.')}
% if position is not None:

${Text(_('Get started by making a note in something you just read, like {section_link}.')).format( section_link=HTML('{section_name}').format( url=position['url'], section_name=position['display_name'], ) )}

% endif
% endif
## Include Underscore templates <%block name="header_extras"> % for template_name in ["note-item", "tab-item"]: % endfor % if has_notes: <%block name="js_extra"> <%static:require_module module_name="js/edxnotes/views/page_factory" class_name="NotesPageFactory"> NotesPageFactory({ disabledTabs: ${disabled_tabs | n, dump_js_escaped_json}, notes: ${dump_js_escaped_json(notes, NoteJSONEncoder) | n}, notesEndpoint: ${notes_endpoint | n, dump_js_escaped_json}, pageSize: ${page_size | n, dump_js_escaped_json}, debugMode: ${debug | n, dump_js_escaped_json} }); % endif