- <% if (completedCount === totalCount) { %>
-
<%- gettext('Congratulations!') %>
-
-
-
+
-
-
+
+
<%- interpolate(gettext(
- 'You have successfully completed all the requirements for the %(title)s %(type)s.'),
- { title: title, type: type }, true) %>
+
<% } %>
diff --git a/lms/templates/learner_dashboard/program_details_view.underscore b/lms/templates/learner_dashboard/program_details_view.underscore
index 5216c1ef55..76b6bdfcd3 100644
--- a/lms/templates/learner_dashboard/program_details_view.underscore
+++ b/lms/templates/learner_dashboard/program_details_view.underscore
@@ -1,7 +1,8 @@
+
+
<% if (discussionFragment.configured) { %>
-
+ <% if (completedCount === totalCount) { %>
+
- <% } else { %>
- <%- gettext('Congratulations!') %>
+
+
- <%- interpolate(gettext(
+ 'You have successfully completed all the requirements for the %(title)s %(type)s.'),
+ { title: title, type: type }, true) %>
+
<%- gettext('Your Program Journey') %>
-
-
-
- <%- interpolate(gettext(
- 'Track and plan your progress through the %(count)s courses in this program.'),
- { count: totalCount }, true) %>
+ <% } else { %>
+
- <% } %>
- <% if (is_learner_eligible_for_one_click_purchase && (typeof is_mobile_only === 'undefined' || is_mobile_only === false)) { %>
-
- <%- gettext('Upgrade All Remaining Courses (')%>
- <% if (discount_data.is_discounted) { %>
-
- <%- StringUtils.interpolate(
- gettext('${listPrice}'), {listPrice: discount_data.total_incl_tax_excl_discounts.toFixed(2)}
- )
- %>
-
<% } %>
- <%- StringUtils.interpolate(
- gettext(' ${price} {currency} )'),
- {price: full_program_price.toFixed(2), currency: discount_data.currency}
- )
- %>
-
- <% } %>
- <%- 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.'),
+ { count: totalCount }, true) %>
+
<%- gettext('To complete the program, you must earn a verified certificate for each course.') %>
-
- <% if (inProgressCount) { %>
-
-
-
- <% } %>
- <% if (remainingCount) { %>
- - <%- gettext('COURSES IN PROGRESS') %> - <%- inProgressCount %> -
- + <% if (is_learner_eligible_for_one_click_purchase && (typeof is_mobile_only === 'undefined' || is_mobile_only === false)) { %> + + <%- gettext('Upgrade All Remaining Courses (')%> + <% if (discount_data.is_discounted) { %> + + <%- StringUtils.interpolate( + gettext('${listPrice}'), {listPrice: discount_data.total_incl_tax_excl_discounts.toFixed(2)} + ) + %> + + <% } %> + <%- StringUtils.interpolate( + gettext(' ${price} {currency} )'), + {price: full_program_price.toFixed(2), currency: discount_data.currency} + ) + %> + + <% } %>
-
- <% } %>
- - <%- gettext('REMAINING COURSES') %> - <%- remainingCount %> -
- -
-
-
-
+- <%- gettext('COMPLETED COURSES') %> - <%- completedCount %> -
- <% if (completedCount) { %> - - <% } else { %> -
-
+
+
<%- gettext("As you complete courses, you will see them listed here.") %>
-<%- gettext('Complete courses on your schedule to ensure you stand out in your field!') %>
+
+ <% if (inProgressCount) { %>
+
+
+
+ <% } %>
+ <% if (remainingCount) { %>
+ + <%- gettext('COURSES IN PROGRESS') %> + <%- inProgressCount %> +
+ +
+
+ <% } %>
+ + <%- gettext('REMAINING COURSES') %> + <%- remainingCount %> +
+ +
+
- <% } %>
- + <%- gettext('COMPLETED COURSES') %> + <%- completedCount %> +
+ <% if (completedCount) { %> + + <% } else { %> +
+
+ <% } %>
<%- gettext("As you complete courses, you will see them listed here.") %>
+<%- gettext('Complete courses on your schedule to ensure you stand out in your field!') %>
+<%= HtmlUtils.HTML(discussionFragment.iframe) %>
+ <%= HtmlUtils.HTML(discussionFragment.iframe) %>
<% } %>
+
<% if (live_fragment.configured) { %>
-
+
<% } %>
+
-<% if (creditPathways.length > 0) { %>
-
-<% } %>
-
-<% if (industryPathways.length > 0) { %>
-
-
-<% } %>
+ <% if (industryPathways.length > 0) { %>
+
<%- gettext('Additional Professional Opportunities') %>
- - <% for (var i = 0; i < industryPathways.length; i++) { - var pathway = industryPathways[i]; - %> -
-
- <% } %>
-
-
- <%- pathway.name %>
- <% if (pathway.description) { %> -<%- pathway.description %>
- <% } %> - <% if (pathway.destination_url) { %> -
-
-
-
-
- <% } %>
-
+
+
+
+ <% } %>
<%- gettext('Additional Professional Opportunities') %>
+
+ <% for (var i = 0; i < industryPathways.length; i++) {
+ var pathway = industryPathways[i];
+ %>
+
+
+
+ <% } %>
+
+
+ <%- pathway.name %>
+ <% if (pathway.description) { %> +<%- pathway.description %>
+ <% } %> + <% if (pathway.destination_url) { %> +
+
+
+
+
+ <% } %>
+
+
<% if (completedCount === totalCount) { %>
<% } %>
<% if (is_learner_eligible_for_one_click_purchase && (typeof is_mobile_only === 'undefined' || is_mobile_only === false)) { %>
@@ -76,5 +76,5 @@
<%- gettext('Congratulations!') %>
@@ -16,10 +17,9 @@
<%- interpolate(gettext(
- 'Track and plan your progress through the %(count)s courses in this program.'),
+ 'Track and plan your progress through the %(count)s courses in this program. To complete the program, you must earn a verified certificate for each course.'),
{ count: totalCount }, true) %>
- <%- gettext('To complete the program, you must earn a verified certificate for each course.') %>