PROD-2020

This commit is contained in:
Ali-D-Akbar
2021-02-02 16:42:44 +05:00
parent cace39bbc7
commit 2d9531e8d1

View File

@@ -1,7 +1,7 @@
<div class = "validation-error-modal-content">
<div class "error-header">
<p>
<%= _.template(
<%= _.template( // xss-lint: disable=underscore-not-escaped
ngettext(
"There was {strong_start}{num_errors} validation error{strong_end} while trying to save the course settings in the database.",
"There were {strong_start}{num_errors} validation errors{strong_end} while trying to save the course settings in the database.",
@@ -13,7 +13,7 @@
num_errors: num_errors,
strong_end: '</strong>'
})%>
<%= gettext("Please check the following validation feedbacks and reflect them in your course settings:")%></p>
<%- gettext("Please check the following validation feedbacks and reflect them in your course settings:")%></p>
</div>
<hr>
@@ -24,9 +24,9 @@
<li class = "error-item">
<span class='error-item-title'>
<span class="icon fa fa-warning" aria-hidden="true"></span>
<strong><%= value.model.display_name %></strong>:
<strong><%- value.model.display_name %></strong>:
</span>
<textarea class = "error-item-message" disabled='disabled'><%=value.message%></textarea>
<textarea class = "error-item-message" disabled='disabled'><%-value.message%></textarea>
</li>
<% }); %>