Files
edx-platform/lms/templates/courseware/welcome-back.html
Robert Raposa 5e69224c32 Deprecate escaping in display_name_with_default
- Remove escaping in display_name_with_default
- Move escaped version to deprecated display_name_with_default_escaped
- Does not include any other changes to remove double-escaping

Thanks to agaylard who initiated this work:
https://github.com/edx/edx-platform/pull/10756

TNL-3425
2015-12-22 11:52:04 -05:00

13 lines
429 B
HTML

<%!
from django.utils.translation import ugettext as _
%>
<h2>${chapter_module.display_name_with_default_escaped}</h2>
<p>${_("You were most recently in {section_link}. If you\'re done with that, choose another section on the left.").format(
section_link=u'<a href="{url}">{section_name}</a>'.format(
url=prev_section_url,
section_name=prev_section.display_name_with_default_escaped,
)
)}</p>