Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
8b25a4c1
Commit
8b25a4c1
authored
Oct 30, 2014
by
Chris Dodge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix the link in the button on the receipt page
parent
074c0968
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
lms/templates/shoppingcart/receipt.html
+2
-8
No files found.
lms/templates/shoppingcart/receipt.html
View file @
8b25a4c1
...
...
@@ -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')
%
>
<a
href=
"${dashboard_url}"
class=
"blue pull-right"
>
${_("View Dashboard")}
<i
class=
"icon-caret-right"
></i></a>
% 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
()})
%
>
<a
href=
"${course_info_url}"
class=
"blue pull-right"
>
${_("View Course")}
<i
class=
"icon-caret-right"
></i></a>
%endif
<
%
dashboard_url =
reverse('dashboard')
%
>
<a
href=
"${dashboard_url}"
class=
"blue pull-right"
>
${_("View Dashboard")}
<i
class=
"icon-caret-right"
></i></a>
${_("You have successfully been enrolled for
<b>
{appended_course_names}
</b>
. The following receipt has been emailed to"
"
<strong>
{appended_recipient_emails}
</strong>
").format(appended_course_names=appended_course_names, appended_recipient_emails=appended_recipient_emails)}
% elif order_type == 'business':
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment