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
7c4ac3da
Commit
7c4ac3da
authored
Nov 18, 2015
by
Peter Fogg
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10668 from edx/peter-fogg/correct-payment-message
Add correct payment processor messages.
parents
9d1290a1
60f6bbe9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lms/static/js/spec/verify_student/make_payment_step_view_spec.js
+1
-1
lms/static/js/verify_student/views/make_payment_step_view.js
+1
-1
No files found.
lms/static/js/spec/verify_student/make_payment_step_view_spec.js
View file @
7c4ac3da
...
...
@@ -210,7 +210,7 @@ define([
var
view
=
createView
({
processors
:
[]});
expect
(
view
.
errorModel
.
get
(
'shown'
)).
toBe
(
true
);
expect
(
view
.
errorModel
.
get
(
'errorTitle'
)).
toEqual
(
"We're currently experiencing technical problems."
'All payment options are currently unavailable.'
);
expect
(
view
.
errorModel
.
get
(
'errorMsg'
)).
toEqual
(
'Try the transaction again in a few minutes.'
...
...
lms/static/js/verify_student/views/make_payment_step_view.js
View file @
7c4ac3da
...
...
@@ -108,7 +108,7 @@ var edx = edx || {};
if
(
processors
.
length
===
0
)
{
// No payment processors are enabled at the moment, so show an error message
this
.
errorModel
.
set
({
errorTitle
:
gettext
(
"We're currently experiencing technical problems."
),
errorTitle
:
gettext
(
'All payment options are currently unavailable.'
),
errorMsg
:
gettext
(
'Try the transaction again in a few minutes.'
),
shown
:
true
})
...
...
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