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
4e011326
Commit
4e011326
authored
Sep 05, 2013
by
David Ormsbee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace placeholder 'Course Name' in paid cert templates with the actual course name
parent
20d72ea7
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
9 deletions
+13
-9
common/templates/course_modes/choose.html
+2
-2
lms/djangoapps/verify_student/views.py
+5
-1
lms/templates/verify_student/_verification_header.html
+1
-1
lms/templates/verify_student/photo_verification.html
+2
-2
lms/templates/verify_student/show_requirements.html
+2
-2
lms/templates/verify_student/verified.html
+1
-1
No files found.
common/templates/course_modes/choose.html
View file @
4e011326
...
...
@@ -3,7 +3,7 @@
<
%
inherit
file=
"../main.html"
/>
<
%
block
name=
"bodyclass"
>
register verification-process step-select-track
</
%
block>
<
%
block
name=
"title"
><title>
${
("Register for [Course Name] | Choose Your Track"
)}
</title></
%
block>
<
%
block
name=
"title"
><title>
${
_("Register for {} | Choose Your Track").format(course_name
)}
</title></
%
block>
<
%
block
name=
"js_extra"
>
<script
type=
"text/javascript"
>
...
...
@@ -37,7 +37,7 @@ $(document).ready(function() {
<div
class=
"container"
>
<section
class=
"wrapper"
>
<
%
include
file=
"/verify_student/_verification_header.html"
/>
<
%
include
file=
"/verify_student/_verification_header.html"
args=
"course_name=course_name"
/>
<div
class=
"wrapper-register-choose wrapper-content-main"
>
<article
class=
"register-choose content-main"
>
...
...
lms/djangoapps/verify_student/views.py
View file @
4e011326
...
...
@@ -142,7 +142,11 @@ def show_requirements(request, course_id):
"""
Show the requirements necessary for
"""
context
=
{
"course_id"
:
course_id
,
"is_not_active"
:
not
request
.
user
.
is_active
}
context
=
{
"course_id"
:
course_id
,
"is_not_active"
:
not
request
.
user
.
is_active
,
"course_name"
:
course_from_id
(
course_id
)
.
display_name
,
}
return
render_to_response
(
"verify_student/show_requirements.html"
,
context
)
...
...
lms/templates/verify_student/_verification_header.html
View file @
4e011326
...
...
@@ -4,7 +4,7 @@
<h2
class=
"title"
>
<span
class=
"wrapper-sts"
>
<span
class=
"sts"
>
${_("You are registering for")}
</span>
<span
class=
"sts-course"
>
${course_
id
}
</span>
<span
class=
"sts-course"
>
${course_
name
}
</span>
</span>
<span
class=
"sts-track"
>
<span
class=
"sts-track-value"
>
...
...
lms/templates/verify_student/photo_verification.html
View file @
4e011326
...
...
@@ -4,7 +4,7 @@
<
%
namespace
name=
'static'
file=
'/static_content.html'
/>
<
%
block
name=
"bodyclass"
>
register verification-process step-photos
</
%
block>
<
%
block
name=
"title"
><title>
${
("Register for [Course Name] | Verification"
)}
</title></
%
block>
<
%
block
name=
"title"
><title>
${
_("Register for {} | Verification").format(course_name
)}
</title></
%
block>
<
%
block
name=
"js_extra"
>
<script
src=
"${static.url('js/vendor/responsive-carousel/responsive-carousel.js')}"
></script>
...
...
@@ -16,7 +16,7 @@
<div
class=
"container"
>
<section
class=
"wrapper"
>
<
%
include
file=
"_verification_header.html"
/>
<
%
include
file=
"_verification_header.html"
args=
"course_name=course_name"
/>
<div
class=
"wrapper-progress"
>
<section
class=
"progress"
>
...
...
lms/templates/verify_student/show_requirements.html
View file @
4e011326
...
...
@@ -2,7 +2,7 @@
<
%!
from
django
.
core
.
urlresolvers
import
reverse
%
>
<
%
inherit
file=
"../main.html"
/>
<
%
block
name=
"bodyclass"
>
register verification-process step-requirements
</
%
block>
<
%
block
name=
"title"
><title>
${
("Register for [Course Name]"
)}
</title></
%
block>
<
%
block
name=
"title"
><title>
${
_("Register for {}").format(course_name
)}
</title></
%
block>
<
%
block
name=
"content"
>
%if is_not_active:
...
...
@@ -22,7 +22,7 @@
<div
class=
"container"
>
<section
class=
"wrapper"
>
<
%
include
file=
"_verification_header.html"
/>
<
%
include
file=
"_verification_header.html"
args=
"course_name=course_name"
/>
<div
class=
"wrapper-progress"
>
<section
class=
"progress"
>
...
...
lms/templates/verify_student/verified.html
View file @
4e011326
...
...
@@ -4,7 +4,7 @@
<
%
namespace
name=
'static'
file=
'/static_content.html'
/>
<
%
block
name=
"bodyclass"
>
register verification-process is-verified
</
%
block>
<
%
block
name=
"title"
><title>
${
("Register for [Course Name] | Verification"
)}
</title></
%
block>
<
%
block
name=
"title"
><title>
${
_("Register for {} | Verification").format(course_name
)}
</title></
%
block>
<
%
block
name=
"js_extra"
>
<script
type=
"text/javascript"
>
...
...
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