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
bd7b2faa
Commit
bd7b2faa
authored
Sep 06, 2013
by
Pavel Yushchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes register in cms, added localization to tabs
parent
18e9b4ce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
cms/djangoapps/contentstore/views/tabs.py
+8
-5
cms/templates/signup.html
+1
-1
No files found.
cms/djangoapps/contentstore/views/tabs.py
View file @
bd7b2faa
...
@@ -16,6 +16,9 @@ from xmodule.modulestore.django import modulestore
...
@@ -16,6 +16,9 @@ from xmodule.modulestore.django import modulestore
from
..utils
import
get_course_for_item
,
get_modulestore
from
..utils
import
get_course_for_item
,
get_modulestore
from
.access
import
get_location_and_verify_access
from
.access
import
get_location_and_verify_access
from
django.utils.translation
import
ugettext
as
_
__all__
=
[
'edit_tabs'
,
'reorder_static_tabs'
,
'static_pages'
]
__all__
=
[
'edit_tabs'
,
'reorder_static_tabs'
,
'static_pages'
]
...
@@ -30,11 +33,11 @@ def initialize_course_tabs(course):
...
@@ -30,11 +33,11 @@ def initialize_course_tabs(course):
# This logic is repeated in xmodule/modulestore/tests/factories.py
# This logic is repeated in xmodule/modulestore/tests/factories.py
# so if you change anything here, you need to also change it there.
# so if you change anything here, you need to also change it there.
course
.
tabs
=
[{
"type"
:
"courseware"
},
course
.
tabs
=
[{
"type"
:
"courseware"
,
"name"
:
_
(
"Courseware"
)
},
{
"type"
:
"course_info"
,
"name"
:
"Course Info"
},
{
"type"
:
"course_info"
,
"name"
:
_
(
"Course Info"
)
},
{
"type"
:
"discussion"
,
"name"
:
"Discussion"
},
{
"type"
:
"discussion"
,
"name"
:
_
(
"Discussion"
)
},
{
"type"
:
"wiki"
,
"name"
:
"Wiki"
},
{
"type"
:
"wiki"
,
"name"
:
_
(
"Wiki"
)
},
{
"type"
:
"progress"
,
"name"
:
"Progress"
}
]
{
"type"
:
"progress"
,
"name"
:
_
(
"Progress"
})
]
modulestore
(
'direct'
)
.
update_metadata
(
course
.
location
.
url
(),
own_metadata
(
course
))
modulestore
(
'direct'
)
.
update_metadata
(
course
.
location
.
url
(),
own_metadata
(
course
))
...
...
cms/templates/signup.html
View file @
bd7b2faa
...
@@ -142,7 +142,7 @@
...
@@ -142,7 +142,7 @@
</li>
</li>
<li
class=
"field text"
id=
"field-work-managing-experience"
>
<li
class=
"field text"
id=
"field-work-managing-experience"
>
<label
for=
"work-managing-experience"
>
${_('Managing experience at educational institution')}
</label>
<label
for=
"work-managing-experience"
>
${_('Managing experience at educational institution')}
</label>
<input
id=
"work-managing-experience"
type=
"text"
name=
"work
-managing-
experience"
value=
""
required
aria-required=
"true"
/>
<input
id=
"work-managing-experience"
type=
"text"
name=
"work
_managing_
experience"
value=
""
required
aria-required=
"true"
/>
</li>
</li>
<li
class=
"field select"
id=
"field-work-qualification-category"
>
<li
class=
"field select"
id=
"field-work-qualification-category"
>
<label
for=
"work-qualification-category"
>
${_("Qualification category")}
</label>
<label
for=
"work-qualification-category"
>
${_("Qualification category")}
</label>
...
...
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