From 8b25a4c1cb08fda230037897054b57b978ad4131 Mon Sep 17 00:00:00 2001 From: Chris Dodge Date: Thu, 30 Oct 2014 21:10:22 -0400 Subject: [PATCH] fix the link in the button on the receipt page --- lms/templates/shoppingcart/receipt.html | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/lms/templates/shoppingcart/receipt.html b/lms/templates/shoppingcart/receipt.html index 9c50a4e3db..66bb667fa5 100644 --- a/lms/templates/shoppingcart/receipt.html +++ b/lms/templates/shoppingcart/receipt.html @@ -30,14 +30,8 @@ from courseware.courses import course_image_url, get_course_about_section, get_c % if order_type == 'personal': ## in case of multiple courses in single self purchase scenario, ## we will show the button View Dashboard - % if len(shoppingcart_items) > 1 : - <% dashboard_url = reverse('dashboard') %> - ${_("View Dashboard")} - % elif shoppingcart_items and shoppingcart_items[0][1]: - <% course = shoppingcart_items[0][1] %> - <% course_info_url = reverse('info', kwargs={'course_id': course.id.to_deprecated_string()}) %> - ${_("View Course")} - %endif + <% dashboard_url = reverse('dashboard') %> + ${_("View Dashboard")} ${_("You have successfully been enrolled for {appended_course_names}. The following receipt has been emailed to" " {appended_recipient_emails}").format(appended_course_names=appended_course_names, appended_recipient_emails=appended_recipient_emails)} % elif order_type == 'business':