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
c09da60f
Commit
c09da60f
authored
Aug 13, 2013
by
Jay Zoldak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The enrollment_action value enroll should not be translated.
parent
a7568fbf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
lms/templates/courseware/course_about.html
+6
-6
No files found.
lms/templates/courseware/course_about.html
View file @
c09da60f
...
@@ -42,9 +42,9 @@
...
@@ -42,9 +42,9 @@
).
css
(
"display"
,
"block"
);
).
css
(
"display"
,
"block"
);
}
}
});
});
%
else
:
%
else
:
$
(
'#class_enroll_form'
).
on
(
'ajax:complete'
,
function
(
event
,
xhr
)
{
$
(
'#class_enroll_form'
).
on
(
'ajax:complete'
,
function
(
event
,
xhr
)
{
if
(
xhr
.
status
==
200
)
{
if
(
xhr
.
status
==
200
)
{
location
.
href
=
"${reverse('dashboard')}"
;
location
.
href
=
"${reverse('dashboard')}"
;
...
@@ -58,8 +58,8 @@
...
@@ -58,8 +58,8 @@
});
});
%
endif
%
endif
})(
this
)
})(
this
)
</script>
</script>
...
@@ -219,10 +219,10 @@
...
@@ -219,10 +219,10 @@
<form
id=
"class_enroll_form"
method=
"post"
data-remote=
"true"
action=
"${reverse('change_enrollment')}"
>
<form
id=
"class_enroll_form"
method=
"post"
data-remote=
"true"
action=
"${reverse('change_enrollment')}"
>
<fieldset
class=
"enroll_fieldset"
>
<fieldset
class=
"enroll_fieldset"
>
<input
name=
"course_id"
type=
"hidden"
value=
"${course.id}"
>
<input
name=
"course_id"
type=
"hidden"
value=
"${course.id}"
>
<input
name=
"enrollment_action"
type=
"hidden"
value=
"
${_("
enroll
")}
"
>
<input
name=
"enrollment_action"
type=
"hidden"
value=
"
enroll
"
>
</fieldset>
</fieldset>
<div
class=
"submit"
>
<div
class=
"submit"
>
<input
name=
"submit"
type=
"submit"
value=
"
${_("
enroll
")}
"
>
<input
name=
"submit"
type=
"submit"
value=
"
enroll
"
>
</div>
</div>
</form>
</form>
</div>
</div>
...
...
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