- 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
13 lines
429 B
HTML
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>
|