Commit 7639d6c3 by Nimisha Asthagiri

Merge pull request #12032 from edx/nasthagiri/fixup-safe-template

Fix safe template change on dashboard
parents 3cce6c1e c1c41a36
...@@ -63,13 +63,13 @@ from openedx.core.djangolib.js_utils import dump_js_escaped_json, js_escaped_str ...@@ -63,13 +63,13 @@ from openedx.core.djangolib.js_utils import dump_js_escaped_json, js_escaped_str
<div class="dashboard-notifications" tabindex="-1"> <div class="dashboard-notifications" tabindex="-1">
%if message: %if message:
<section class="dashboard-banner"> <section class="dashboard-banner">
${message} ${message | n, unicode}
</section> </section>
%endif %endif
%if enrollment_message: %if enrollment_message:
<section class="dashboard-banner"> <section class="dashboard-banner">
${enrollment_message} ${enrollment_message | n, unicode}
</section> </section>
%endif %endif
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment