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
192d51bf
Commit
192d51bf
authored
Aug 02, 2013
by
Chris Dodge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
touch-ups per review feedback
parent
c20ca2bf
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
common/lib/xmodule/xmodule/course_module.py
+2
-3
lms/templates/courseware/course_about.html
+1
-1
lms/templates/test_center_register.html
+2
-2
No files found.
common/lib/xmodule/xmodule/course_module.py
View file @
192d51bf
...
...
@@ -6,7 +6,6 @@ from path import path # NOTE (THK): Only used for detecting presence of syllabu
import
requests
from
datetime
import
datetime
import
dateutil.parser
import
cgi
from
xmodule.modulestore
import
Location
from
xmodule.seq_module
import
SequenceDescriptor
,
SequenceModule
...
...
@@ -945,7 +944,7 @@ class CourseDescriptor(CourseFields, SequenceDescriptor):
Return a display course number if it has been specified, otherwise return the 'course' that is in the location
"""
if
self
.
display_coursenumber
:
return
cgi
.
escape
(
self
.
display_coursenumber
)
return
self
.
display_coursenumber
return
self
.
number
...
...
@@ -959,6 +958,6 @@ class CourseDescriptor(CourseFields, SequenceDescriptor):
Return a display organization if it has been specified, otherwise return the 'org' that is in the location
"""
if
self
.
display_organization
:
return
cgi
.
escape
(
self
.
display_organization
)
return
self
.
display_organization
return
self
.
org
lms/templates/courseware/course_about.html
View file @
192d51bf
...
...
@@ -94,7 +94,7 @@
</a>
%endif
%else:
<a
href=
"#"
class=
"register"
>
${_("Register for {course.display_number_with_default}").format(course=course)}
</a>
<a
href=
"#"
class=
"register"
>
${_("Register for {course.display_number_with_default}").format(course=course)
| h
}
</a>
<div
id=
"register_error"
></div>
%endif
...
...
lms/templates/test_center_register.html
View file @
192d51bf
...
...
@@ -95,7 +95,7 @@
<section
class=
"introduction"
>
<header>
<hgroup>
<h2><a
href=
"${reverse('dashboard')}"
>
${get_course_about_section(course, 'university')} ${course.display_number_with_default | h} ${course.display_name_with_default}
</a></h2>
<h2><a
href=
"${reverse('dashboard')}"
>
${get_course_about_section(course, 'university')} ${course.display_number_with_default | h} ${course.display_name_with_default
| h
}
</a></h2>
% if registration:
<h1>
${_('Your Pearson VUE Proctored Exam Registration')}
</h1>
...
...
@@ -442,7 +442,7 @@
% endif
<div
class=
"details details-course"
>
<h4>
${_("About {university} {course_number}").format(university=get_course_about_section(course, 'university'), course_number=course.course.display_number_with_default)}
</h4>
<h4>
${_("About {university} {course_number}").format(university=get_course_about_section(course, 'university'), course_number=course.course.display_number_with_default)
| h
}
</h4>
<p>
% if course.has_ended():
<span
class=
"label"
>
${_('Course Completed:')}
</span>
<span
class=
"value"
>
${course.end_date_text}
</span>
...
...
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