Merge pull request #700 from edx/peter-fogg/course-image-upload

WIP: Peter fogg/course image upload
This commit is contained in:
Peter Fogg
2013-08-21 11:17:12 -07:00
32 changed files with 848 additions and 505 deletions

View File

@@ -338,6 +338,12 @@ class CourseFields(object):
show_timezone = Boolean(help="True if timezones should be shown on dates in the courseware", scope=Scope.settings, default=True)
enrollment_domain = String(help="External login method associated with user accounts allowed to register in course",
scope=Scope.settings)
course_image = String(
help="Filename of the course image",
scope=Scope.settings,
# Ensure that courses imported from XML keep their image
default="images_course_image.jpg"
)
# An extra property is used rather than the wiki_slug/number because
# there are courses that change the number for different runs. This allows

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB