From ee7213427c82e1e4db4200943831028828697f41 Mon Sep 17 00:00:00 2001 From: Nawfal Ahmed <111358247+NawfalAhmed@users.noreply.github.com> Date: Wed, 14 Jun 2023 18:48:20 +0500 Subject: [PATCH] fix: fix alert icon unexpected behaviour (#32455) --- lms/static/images/warning-icon.svg | 2 +- .../program_details_tab_view.underscore | 12 ++++-------- .../program_details_view.underscore | 6 ++---- 3 files changed, 7 insertions(+), 13 deletions(-) diff --git a/lms/static/images/warning-icon.svg b/lms/static/images/warning-icon.svg index 412368e945b..d0326ee1062 100644 --- a/lms/static/images/warning-icon.svg +++ b/lms/static/images/warning-icon.svg @@ -1,4 +1,4 @@ - + diff --git a/lms/templates/learner_dashboard/program_details_tab_view.underscore b/lms/templates/learner_dashboard/program_details_tab_view.underscore index a9f721a8919..0a7e03904d3 100644 --- a/lms/templates/learner_dashboard/program_details_tab_view.underscore +++ b/lms/templates/learner_dashboard/program_details_tab_view.underscore @@ -33,8 +33,7 @@ <% if (completedCount === totalCount) { %>

<%- gettext('Congratulations!') %>

-
<%- interpolate(gettext( - 'You have successfully completed all the requirements for the %(title)s %(type)s.'), +
<%- interpolate(gettext('You have successfully completed all the requirements for the %(title)s %(type)s.'), { title: title, type: type }, true) %>
@@ -42,8 +41,7 @@

<%- gettext('Your Program Journey') %>

- <%- interpolate(gettext( - 'Track and plan your progress through the %(count)s course(s) in this program. To complete the program, you must earn a verified certificate for each course.'), + <%- interpolate(gettext('Track and plan your progress through the %(count)s course(s) in this program. To complete the program, you must earn a verified certificate for each course.'), { count: totalCount }, true) %>
@@ -177,12 +175,10 @@