fixup! trying to "fix" underscore syntax error add cancel modal test Fix quality issues. Apply Nimisha's suggestions for my quality fixes. Skip test_drop_unit_in_collapsed_subsection Fix quality error
25 lines
772 B
Plaintext
25 lines
772 B
Plaintext
<p>
|
|
<%- gettext(
|
|
'When you enable weekly course highlight messages, learners ' +
|
|
'automatically receive weekly email messages for each section that ' +
|
|
'has highlights. You cannot disable highlights after you start ' +
|
|
'sending them.'
|
|
) %>
|
|
</p>
|
|
<p>
|
|
<% // xss-lint: disable=underscore-not-escaped %>
|
|
<%= edx.HtmlUtils.interpolateHtml(
|
|
gettext(
|
|
'Are you sure you want to enable weekly course highlight messages? '
|
|
+ '{linkStart}Learn more.{linkEnd}'
|
|
),
|
|
{
|
|
linkStart: edx.HtmlUtils.interpolateHtml(
|
|
edx.HtmlUtils.HTML('<a href="{highlightsDocUrl}" target="_blank">'),
|
|
{highlightsDocUrl: xblockInfo.attributes.highlights_doc_url}
|
|
),
|
|
linkEnd: edx.HtmlUtils.HTML('</a>')
|
|
}
|
|
) %>
|
|
</p>
|