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
be4f37f2
Commit
be4f37f2
authored
Oct 06, 2015
by
Clinton Blackburn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Credit fixes
- Fixed receipt page button - Fixed message on dashboard ECOM-2492
parent
3182394c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
lms/static/js/commerce/views/receipt_view.js
+4
-0
lms/templates/dashboard/_dashboard_credit_info.html
+1
-1
No files found.
lms/static/js/commerce/views/receipt_view.js
View file @
be4f37f2
...
...
@@ -288,7 +288,11 @@ function completeOrder(event) { // jshint ignore:line
providerId
=
$
(
event
).
data
(
"provider"
),
$errorContainer
=
$
(
"#error-container"
);
try
{
event
.
preventDefault
();
}
catch
(
err
)
{
// Ignore the error as not all event inputs have the preventDefault method.
}
analytics
.
track
(
"edx.bi.credit.clicked_complete_credit"
,
...
...
lms/templates/dashboard/_dashboard_credit_info.html
View file @
be4f37f2
...
...
@@ -23,7 +23,7 @@
% if not credit_status["purchased"] and not credit_status["error"] :
<p
class=
"message-copy credit-msg credit-eligibility-msg"
>
## Translators: provider_name is the name of a credit provider or university (e.g. State University)
${_("You are now eligible to purchase course credit f
rom {provider_name} f
or this course. Click
<strong>
Get Credit
</strong>
to get started.").format(
${_("You are now eligible to purchase course credit for this course. Click
<strong>
Get Credit
</strong>
to get started.").format(
provider_name=credit_status["provider_name"],
)}
</p>
...
...
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