/
githubmirror
/
edx-platform
Обзор
Документация
Войти
/
githubmirror
/
edx-platform
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
release-ulmo
cms/templates/js/highlights-enable-editor.underscore
24 строки
762 B
Dillon Dumesnil
AA-454 and AA-470: Update language and bug fix for highlights
04 дек 2020, 18:26
Не верифицирован
04 дек 2020, 18:26
9e2eab5
Код
Авторство
О чём код?
<p> <%- gettext( 'When you enable course highlight emails, learners ' + 'automatically receive 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 course highlight emails? ' + '{linkStart}Learn more.{linkEnd}' ), { linkStart: edx.HtmlUtils.interpolateHtml( edx.HtmlUtils.HTML('<a href="{highlightsDocUrl}" rel="noopener" target="_blank">'), {highlightsDocUrl: xblockInfo.attributes.highlights_doc_url} ), linkEnd: edx.HtmlUtils.HTML('</a>') } ) %> </p>