Commit 98b9fb09 by Sarina Canelake

Fix dashboard i18n

parent 97d357cd
......@@ -185,9 +185,13 @@
%endif
% if is_course_blocked:
<p id="block-course-msg" class="course-block">
${_('You can no longer access this course because payment has not yet been received. you can <a href="#">contact the account holder</a> to request payment, or you can')}
<a id="unregister_block_course" rel="leanModal" data-course-id="${course.id | h}" data-course-number="${course.number | h}" href="#unenroll-modal" > ${_('unenroll')} </a>
${_('for this course.')}
${_("You can no longer access this course because payment has not yet been received. You
can {link_start}contact the account holder{link_end} to request payment, or you can
{unenroll_link_start}unenroll{unenroll_link_end} from this course").format(
link_start='<a href="#">',
link_end='</a>',
unenroll_link_start='<a id="unregister_block_course" rel="leanModal" data-course-id="${course.id | h}" data-course-number="${course.number | h}" href="#unenroll-modal">',
unenroll_link_end="</a>")}
</p>
%endif
......
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