Implement course handouts
LEARNER-607
This commit is contained in:
@@ -278,7 +278,7 @@ def get_course_info_section(request, user, course, section_key):
|
||||
html = ''
|
||||
if info_module is not None:
|
||||
try:
|
||||
html = info_module.render(STUDENT_VIEW).content
|
||||
html = info_module.render(STUDENT_VIEW).content.strip()
|
||||
except Exception: # pylint: disable=broad-except
|
||||
html = render_to_string('courseware/error-message.html', None)
|
||||
log.exception(
|
||||
|
||||
@@ -11,8 +11,6 @@
|
||||
padding: 0 ($baseline * 2);
|
||||
|
||||
&:not(:first-child) {
|
||||
border-top: 1px solid $lms-border-color;
|
||||
|
||||
.section-name {
|
||||
margin-top: $baseline;
|
||||
}
|
||||
|
||||
@@ -149,3 +149,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.section:not(:first-child) {
|
||||
margin-top: $baseline;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user