<%! from django.utils.translation import ugettext as _ %> <%namespace name='static' file='static_content.html'/> <%inherit file="main.html" /> <%! from django.core.urlresolvers import reverse %> <%block name="headextra"> <%static:css group='course'/> <%static:js group='courseware'/> <%block name="js_extra"> <%include file="/courseware/course_navigation.html" args="active_page='notes'" />

${_("My Notes")}

% for note in notes:
${note.quote|h}
${note.text.replace("\n", "
") | n,h}
    % if note.tags:
  • ${_("Tags: {tags}").format(tags=note.tags) | h}
  • % endif
  • ${_('Author: {username}').format(username=note.user.username)}
  • ${_('Created: {datetime}').format(datetime=note.created.strftime('%m/%d/%Y %H:%m'))}
  • ${_('Source: {link}').format(link='{url}'.format(url=note.uri))}
% endfor % if notes is UNDEFINED or len(notes) == 0:

${_('You do not have any notes.')}

% endif