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
f36368cd
Commit
f36368cd
authored
Jun 29, 2012
by
Matthew Mongeau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Help link
parent
c40be85d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
3 deletions
+5
-3
lms/djangoapps/student/views.py
+3
-0
lms/templates/help.html
+0
-2
lms/templates/navigation.html
+1
-1
lms/urls.py
+1
-0
No files found.
lms/djangoapps/student/views.py
View file @
f36368cd
...
...
@@ -484,6 +484,9 @@ def about(request):
def
jobs
(
request
):
return
render_to_response
(
'jobs.html'
,
None
)
def
help
(
request
):
return
render_to_response
(
'help.html'
,
None
)
@ensure_csrf_cookie
def
enroll
(
request
,
course_id
):
course
=
settings
.
COURSES_BY_ID
[
course_id
]
...
...
lms/templates/help.html
View file @
f36368cd
<
%
inherit
file=
"main.html"
/>
<
%
block
name=
"title"
><title>
Help - MITx 6.002x
</title></
%
block>
<
%
include
file=
"navigation.html"
args=
"active_page='help'"
/>
<section
class=
"help main-content"
>
<h1>
Help
</h1>
...
...
lms/templates/navigation.html
View file @
f36368cd
...
...
@@ -39,7 +39,7 @@
<div
class=
"divider"
></div>
<ol
class=
"user-options"
>
<li><a
href=
"#"
>
Account Settings
</a></li>
<li><a
href=
"
#
"
>
Help
</a></li>
<li><a
href=
"
${reverse('help_edx')}
"
>
Help
</a></li>
<li><a
href=
"${reverse('logout')}"
>
Log Out
</a></li>
</ol>
</li>
...
...
lms/urls.py
View file @
f36368cd
...
...
@@ -14,6 +14,7 @@ urlpatterns = ('',
url
(
r'^$'
,
'student.views.index'
,
name
=
"root"
),
# Main marketing page, or redirect to courseware
url
(
r'^about$'
,
'student.views.about'
,
name
=
"about_edx"
),
url
(
r'^jobs$'
,
'student.views.jobs'
,
name
=
"jobs"
),
url
(
r'^help$'
,
'student.views.help'
,
name
=
"help_edx"
),
url
(
r'^dashboard$'
,
'student.views.dashboard'
,
name
=
"dashboard"
),
url
(
r'^change_email$'
,
'student.views.change_email_request'
),
url
(
r'^email_confirm/(?P<key>[^/]*)$'
,
'student.views.confirm_email_change'
),
...
...
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