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
6df10518
Commit
6df10518
authored
Oct 19, 2012
by
Bridger Maxwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More template cleanup. Moved navigation, footer, etc to templates/frame.
parent
27c431a6
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
10 additions
and
10 deletions
+10
-10
common/djangoapps/student/views.py
+1
-1
common/templates/problem_ajax.html
+0
-0
common/templates/staff_problem_info.html
+0
-0
common/templates/video.html
+0
-0
lms/templates/frame/footer.html
+1
-1
lms/templates/frame/login_modal.html
+1
-1
lms/templates/frame/navigation.html
+1
-1
lms/templates/frame/signup_modal.html
+1
-1
lms/templates/main.html
+2
-2
lms/templates/main_django.html
+2
-2
lms/templates/portal/course_about.html
+1
-1
lms/templates/portal/invalid_email_key.html
+0
-0
lms/templates/portal/video_modal.html
+0
-0
No files found.
common/djangoapps/student/views.py
View file @
6df10518
...
...
@@ -635,7 +635,7 @@ def confirm_email_change(request, key):
try
:
pec
=
PendingEmailChange
.
objects
.
get
(
activation_key
=
key
)
except
PendingEmailChange
.
DoesNotExist
:
return
render_to_response
(
"invalid_email_key.html"
,
{})
return
render_to_response
(
"
portal/
invalid_email_key.html"
,
{})
user
=
pec
.
user
d
=
{
'old_email'
:
user
.
email
,
...
...
lms
/templates/problem_ajax.html
→
common
/templates/problem_ajax.html
View file @
6df10518
File moved
lms
/templates/staff_problem_info.html
→
common
/templates/staff_problem_info.html
View file @
6df10518
File moved
lms
/templates/video.html
→
common
/templates/video.html
View file @
6df10518
File moved
lms/templates/footer.html
→
lms/templates/f
rame/f
ooter.html
View file @
6df10518
## mako
<
%!
from
django
.
core
.
urlresolvers
import
reverse
%
>
<
%
namespace
name=
'static'
file=
'static_content.html'
/>
<
%
namespace
name=
'static'
file=
'
../
static_content.html'
/>
<footer>
<nav>
...
...
lms/templates/login_modal.html
→
lms/templates/
frame/
login_modal.html
View file @
6df10518
<
%!
from
django
.
core
.
urlresolvers
import
reverse
%
>
<
%
namespace
name=
'static'
file=
'static_content.html'
/>
<
%
namespace
name=
'static'
file=
'
../
static_content.html'
/>
<section
id=
"login-modal"
class=
"modal login-modal"
>
<div
class=
"inner-wrapper"
>
...
...
lms/templates/navigation.html
→
lms/templates/
frame/
navigation.html
View file @
6df10518
...
...
@@ -2,7 +2,7 @@
## TODO: Split this into two files, one for people who are authenticated, and
## one for people who aren't. Assume a Course object is passed to the former,
## instead of using settings.COURSE_TITLE
<
%
namespace
name=
'static'
file=
'static_content.html'
/>
<
%
namespace
name=
'static'
file=
'
../
static_content.html'
/>
<
%!
from
django
.
core
.
urlresolvers
import
reverse
...
...
lms/templates/signup_modal.html
→
lms/templates/
frame/
signup_modal.html
View file @
6df10518
<
%
namespace
name=
'static'
file=
'static_content.html'
/>
<
%
namespace
name=
'static'
file=
'
../
static_content.html'
/>
<
%!
from
django
.
core
.
urlresolvers
import
reverse
%
>
<
%!
from
django_countries
.
countries
import
COUNTRIES
%
>
<
%!
from
student
.
models
import
UserProfile
%
>
...
...
lms/templates/main.html
View file @
6df10518
...
...
@@ -39,13 +39,13 @@
<body
class=
"<%block name='bodyclass'/>"
>
<
%
include
file=
"navigation.html"
/>
<
%
include
file=
"
frame/
navigation.html"
/>
<section
class=
"content-wrapper"
>
${self.body()}
<
%
block
name=
"bodyextra"
/>
</section>
<
%
include
file=
"footer.html"
/>
<
%
include
file=
"f
rame/f
ooter.html"
/>
<
%
static:js
group=
'application'
/>
<
%
static:js
group=
'module-js'
/>
...
...
lms/templates/main_django.html
View file @
6df10518
...
...
@@ -23,13 +23,13 @@
</head>
<body
class=
"{% block bodyclass %}{% endblock %}"
>
{% include "navigation.html" %}
{% include "
frame/
navigation.html" %}
<section
class=
"content-wrapper"
>
{% block body %}{% endblock %}
{% block bodyextra %}{% endblock %}
</section>
{% include "footer.html" %}
{% include "f
rame/f
ooter.html" %}
{% compressed_js 'application' %}
{% compressed_js 'module-js' %}
...
...
lms/templates/portal/course_about.html
View file @
6df10518
...
...
@@ -190,4 +190,4 @@
%endif
<
%
include
file=
"
..
/video_modal.html"
/>
<
%
include
file=
"
portal
/video_modal.html"
/>
lms/templates/invalid_email_key.html
→
lms/templates/
portal/
invalid_email_key.html
View file @
6df10518
File moved
lms/templates/video_modal.html
→
lms/templates/
portal/
video_modal.html
View file @
6df10518
File moved
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