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
1947b6b4
Commit
1947b6b4
authored
Sep 09, 2013
by
Pavel Yushchenko
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'select' of github.com:Man2Life/edx-platform into select
parents
e4258839
08c7df03
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
common/djangoapps/student/views.py
+1
-1
lms/templates/university_profile/edge.html
+2
-1
No files found.
common/djangoapps/student/views.py
View file @
1947b6b4
...
@@ -714,7 +714,7 @@ def create_account(request, post_override=None):
...
@@ -714,7 +714,7 @@ def create_account(request, post_override=None):
js
[
'field'
]
=
a
js
[
'field'
]
=
a
return
HttpResponse
(
json
.
dumps
(
js
))
return
HttpResponse
(
json
.
dumps
(
js
))
numeric_post_vars
=
[
"education_year"
,
"work_managing_experience"
,
"work_teaching_experience"
,
"work_qualification_category_year"
,
"contact_phone"
]
numeric_post_vars
=
[
"education_year"
,
"work_managing_experience"
,
"work_teaching_experience"
]
for
a
in
numeric_post_vars
:
for
a
in
numeric_post_vars
:
if
len
(
post_vars
[
a
])
>
0
and
not
post_vars
[
a
]
.
isdigit
():
if
len
(
post_vars
[
a
])
>
0
and
not
post_vars
[
a
]
.
isdigit
():
...
...
lms/templates/university_profile/edge.html
View file @
1947b6b4
<
%!
from
django
.
utils
.
translation
import
ugettext
as
_
%
>
<
%!
from
django
.
utils
.
translation
import
ugettext
as
_
%
>
<
%
inherit
file=
"../stripped-main.html"
/>
<
%
inherit
file=
"../stripped-main.html"
/>
<
%
namespace
name=
'static'
file=
'../static_content.html'
/>
<
%!
from
django
.
core
.
urlresolvers
import
reverse
%
>
<
%!
from
django
.
core
.
urlresolvers
import
reverse
%
>
<
%
block
name=
"title"
><title>
${_("edX edge")}
</title></
%
block>
<
%
block
name=
"title"
><title>
${_("edX edge")}
</title></
%
block>
<
%
block
name=
"bodyclass"
>
no-header edge-landing
</
%
block>
<
%
block
name=
"bodyclass"
>
no-header edge-landing
</
%
block>
...
@@ -36,7 +37,7 @@
...
@@ -36,7 +37,7 @@
</
%
block>
</
%
block>
<
%
block
name=
"js_extra"
>
<
%
block
name=
"js_extra"
>
<script
type=
"text/javascript"
src=
"${static.url('js/jquery.masked
.
input.min.js')}"
></script>
<script
type=
"text/javascript"
src=
"${static.url('js/jquery.maskedinput.min.js')}"
></script>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
(
function
()
{
(
function
()
{
...
...
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