Commit 63672f6c by Giulio Gratta

edit checklist for edx-west

parent cbc23310
import json import json
import copy import copy
from django.conf import settings
from util.json_request import JsonResponse from util.json_request import JsonResponse
from django.http import HttpResponseBadRequest from django.http import HttpResponseBadRequest
from django.contrib.auth.decorators import login_required from django.contrib.auth.decorators import login_required
...@@ -114,8 +116,14 @@ def expand_checklist_action_url(course_module, checklist): ...@@ -114,8 +116,14 @@ def expand_checklist_action_url(course_module, checklist):
urlconf_map = { urlconf_map = {
"ManageUsers": "course_team", "ManageUsers": "course_team",
"CourseOutline": "course", "CourseOutline": "course",
"StaticPages": "tabs",
"SettingsDetails": "settings/details", "SettingsDetails": "settings/details",
"SettingsGrading": "settings/grading", "SettingsGrading": "settings/grading",
"SettingsAdvanced": "settings/advanced",
}
lms_urlconf_map = {
"Wiki": "course_wiki",
"Forum": "discussion/forum",
} }
for item in expanded_checklist.get('items'): for item in expanded_checklist.get('items'):
...@@ -125,5 +133,11 @@ def expand_checklist_action_url(course_module, checklist): ...@@ -125,5 +133,11 @@ def expand_checklist_action_url(course_module, checklist):
ctx_loc = course_module.location ctx_loc = course_module.location
location = loc_mapper().translate_location(ctx_loc.course_id, ctx_loc, False, True) location = loc_mapper().translate_location(ctx_loc.course_id, ctx_loc, False, True)
item['action_url'] = location.url_reverse(url_prefix, '') item['action_url'] = location.url_reverse(url_prefix, '')
elif action_url in lms_urlconf_map:
lms_base = settings.LMS_BASE
course_id = course_module.location.course_id
url_postfix = lms_urlconf_map[action_url]
url = 'http://' + lms_base + '/courses/' + course_id + '/' + url_postfix
item['action_url'] = url
return expanded_checklist return expanded_checklist
...@@ -244,118 +244,173 @@ class CourseFields(object): ...@@ -244,118 +244,173 @@ class CourseFields(object):
has_children = True has_children = True
checklists = List(scope=Scope.settings, checklists = List(scope=Scope.settings,
default=[ default=[
{"short_description": "Getting Started With Studio", {"short_description": "Putting the structure in place",
"items": [{"short_description": "Add Course Team Members", "items": [{"short_description": "Add course team members",
"long_description": "Grant your collaborators permission to edit your course so you can work together.", "long_description": "Give other users staff access so they can edit course material.",
"is_checked": False, "is_checked": False,
"action_url": "ManageUsers", "action_url": "ManageUsers",
"action_text": "Edit Course Team", "action_text": "Edit Course Team",
"action_external": False}, "action_external": False},
{"short_description": "Set Important Dates for Your Course", {"short_description": "Set enrollment and launch dates",
"long_description": "Establish your course's student enrollment and launch dates on the Schedule and Details page.", "long_description": "Set the start and end dates that students can enroll in the course, and the launch date for the course.",
"is_checked": False, "is_checked": False,
"action_url": "SettingsDetails", "action_url": "SettingsDetails",
"action_text": "Edit Course Details & Schedule", "action_text": "Edit Course Schedule & Details",
"action_external": False}, "action_external": False},
{"short_description": "Draft Your Course's Grading Policy", {"short_description": "Create grading policy",
"long_description": "Set up your assignment types and grading policy even if you haven't created all your assignments.", "long_description": "Set up your assignment types and grading policy even if you haven't created all your assignments.",
"is_checked": False, "is_checked": False,
"action_url": "SettingsGrading", "action_url": "SettingsGrading",
"action_text": "Edit Grading Settings", "action_text": "Edit Grading Settings",
"action_external": False},
{"short_description": "Explore the Other Studio Checklists",
"long_description": "Discover other available course authoring tools, and find help when you need it.",
"is_checked": False,
"action_url": "",
"action_text": "",
"action_external": False}]}, "action_external": False}]},
{"short_description": "Draft a Rough Course Outline", {"short_description": "Populating your course with content",
"items": [{"short_description": "Create Your First Section and Subsection", "items": [{"short_description": "Create sections, subsections, and units",
"long_description": "Use your course outline to build your first Section and Subsection.", "long_description": "Use your course outline to create the structure that will hold course content.",
"is_checked": False, "is_checked": False,
"action_url": "CourseOutline", "action_url": "CourseOutline",
"action_text": "Edit Course Outline", "action_text": "Create Course Outline",
"action_external": False}, "action_external": False},
{"short_description": "Set Section Release Dates", {"short_description": "Add your content to the outline",
"long_description": "Specify the release dates for each Section in your course. Sections become visible to students on their release dates.", "long_description": "Systematically go through your sections and subsections, and add your content.",
"is_checked": False, "is_checked": False,
"action_url": "CourseOutline", "action_url": "CourseOutline",
"action_text": "Edit Course Outline", "action_text": "Add your Content",
"action_external": False}, "action_external": False},
{"short_description": "Designate a Subsection as Graded", {"short_description": "Create any static pages",
"long_description": "Set a Subsection to be graded as a specific assignment type. Assignments within graded Subsections count toward a student's final grade.", "long_description": "These appear as 'tabs' horizontally at the top of your course.",
"is_checked": False, "is_checked": False,
"action_url": "CourseOutline", "action_url": "StaticPages",
"action_text": "Edit Course Outline", "action_text": "Add Static Pages",
"action_external": False}, "action_external": False},
{"short_description": "Reordering Course Content", {"short_description": "Configure graded items",
"long_description": "Use drag and drop to reorder the content in your course.", "long_description": "Set grading categories for subsections, decide on settings for problems.",
"is_checked": False, "is_checked": False,
"action_url": "CourseOutline", "action_url": "CourseOutline",
"action_text": "Edit Course Outline", "action_text": "Set Up Graded Items",
"action_external": False}, "action_external": False},
{"short_description": "Renaming Sections", {"short_description": "Request course 'tab' changes",
"long_description": "Rename Sections by clicking the Section name from the Course Outline.", "long_description": "Some of the tabs in your course are optional and renamable (e.g. 'Progress').",
"is_checked": False, "is_checked": False,
"action_url": "CourseOutline", "action_url": "http://stanfordonline.zendesk.com",
"action_text": "Edit Course Outline", "action_text": "File a ticket",
"action_external": False}, "action_external": True},
{"short_description": "Deleting Course Content", {"short_description": "Give items meaningful names",
"long_description": "Delete Sections, Subsections, or Units you don't need anymore. Be careful, as there is no Undo function.", "long_description": "Make sure any usage report items (e.g. videos, problems, etc...), have meaningful names (e.g. 'Matrix multiplication' rather than 'Video 16').",
"is_checked": False, "is_checked": False,
"action_url": "CourseOutline", "action_url": "CourseOutline",
"action_text": "Edit Course Outline", "action_text": "Edit Content Names",
"action_external": False}, "action_external": False},
{"short_description": "Add an Instructor-Only Section to Your Outline", {"short_description": "(MOOCs only) Incorporate Pre/Post Course Surveys",
"long_description": "Some course authors find using a section for unsorted, in-progress work useful. To do this, create a section and set the release date to the distant future.", "long_description": "Work with courseops to create and incorporate pre/post course surveys",
"is_checked": False, "is_checked": False,
"action_url": "CourseOutline", "action_url": "http://stanfordonline.zendesk.com",
"action_text": "Edit Course Outline", "action_text": "File a ticket",
"action_external": False}]}, "action_external": True}]},
{"short_description": "Explore edX's Support Tools", {"short_description": "Special handling for videos",
"items": [{"short_description": "Explore the Studio Help Forum", "items": [{"short_description": "Upload videos to YouTube",
"long_description": "Access the Studio Help forum from the menu that appears when you click your user name in the top right corner of Studio.", "long_description": "Log on to YouTube and upload high-resolution videos to a course account.",
"is_checked": False, "is_checked": False,
"action_url": "https://groups.google.com/d/forum/openedx-studio", "action_url": "http://www.youtube.com",
"action_text": "Visit Studio Help", "action_text": "Add Videos",
"action_external": True}, "action_external": True},
{"short_description": "Enroll in edX 101", {"short_description": "Request an account for creating captions",
"long_description": "Register for edX 101, edX's primer for course creation.", "long_description": "You'll want captions for your videos.",
"is_checked": False, "is_checked": False,
"action_url": "https://edge.edx.org/courses/edX/edX101/How_to_Create_an_edX_Course/about", "action_url": "http://stanfordonline.zendesk.com",
"action_text": "Register for edX 101", "action_text": "File a Ticket",
"action_external": True}, "action_external": True},
{"short_description": "Download the Studio Documentation", {"short_description": "Upload YouTube video links to caption provider",
"long_description": "Download the searchable Studio reference documentation in PDF form.", "long_description": "",
"is_checked": False, "is_checked": False,
"action_url": "http://files.edx.org/Getting_Started_with_Studio.pdf", "action_url": "",
"action_text": "Download Documentation", "action_text": "",
"action_external": True}]}, "action_external": False},
{"short_description": "Draft Your Course About Page", {"short_description": "Confirm that captions are on YouTube",
"items": [{"short_description": "Draft a Course Description", "long_description": "",
"long_description": "Courses on edX have an About page that includes a course video, description, and more. Draft the text students will read before deciding to enroll in your course.",
"is_checked": False, "is_checked": False,
"action_url": "SettingsDetails", "action_url": "",
"action_text": "Edit Course Schedule & Details", "action_text": "",
"action_external": False}, "action_external": False},
{"short_description": "Add Staff Bios", {"short_description": "Import YouTube captions to course",
"long_description": "Showing prospective students who their instructor will be is helpful. Include staff bios on the course About page.", "long_description": "",
"is_checked": False, "is_checked": False,
"action_url": "SettingsDetails", "action_url": "",
"action_text": "Edit Course Schedule & Details", "action_text": "",
"action_external": False}, "action_external": False},
{"short_description": "Add Course FAQs", {"short_description": "Create smaller versions of videos for download",
"long_description": "Include a short list of frequently asked questions about your course.", "long_description": "",
"is_checked": False,
"action_url": "",
"action_text": "",
"action_external": False},
{"short_description": "Upload downloadable videos",
"long_description": "Upload downloadable videos to an appropriate file hosting location (e.g. to stanford.box.com)",
"is_checked": False,
"action_url": "",
"action_text": "",
"action_external": False},
{"short_description": "Create download links for smaller videos",
"long_description": "",
"is_checked": False,
"action_url": "",
"action_text": "",
"action_external": False}]},
{"short_description": "Getting ready to allow enrollment (MOOC only)",
"items": [{"short_description": "Confirm enrollment policy is correct",
"long_description": "Make sure the enrollment policy is correct for your course (public? SUnet ID? Invite only?).",
"is_checked": False,
"action_url": "http://stanfordonline.zendesk.com",
"action_text": "File a Ticket",
"action_external": True},
{"short_description": "Populate the 'About' page for your course",
"long_description": "Add any information about your course for your perspective students to read before registering (Course description, Staff bios, Syllabus, FAQs, Promo video, Course image, Start date, End date, Effort estimate, and Prerequisites).",
"is_checked": False, "is_checked": False,
"action_url": "SettingsDetails", "action_url": "SettingsDetails",
"action_text": "Edit Course Schedule & Details", "action_text": "Edit About Page",
"action_external": False}, "action_external": False},
{"short_description": "Add Course Prerequisites", {"short_description": "Add short description for course 'Tile'",
"long_description": "Let students know what knowledge and/or skills they should have before they enroll in your course.", "long_description": "Create 150-character 'Mouseover' description for home page",
"is_checked": False, "is_checked": False,
"action_url": "SettingsDetails", "action_url": "SettingsDetails",
"action_text": "Edit Course Schedule & Details", "action_text": "Edit Mouseover Text",
"action_external": False}]} "action_external": False},
{"short_description": "Request listing your course on class.stanford.edu ",
"long_description": "Contact CourseOps to get your course listed on the Stanford OpenEdX home page (1 week lead time).",
"is_checked": False,
"action_url": "http://stanfordonline.zendesk.com",
"action_text": "File a Ticket",
"action_external": True},
{"short_description": "Set up any other social media ",
"long_description": "You may want to create a Facebook page, twitter hashtag, etc.",
"is_checked": False,
"action_url": "",
"action_text": "",
"action_external": False}]},
{"short_description": "Getting ready to launch",
"items": [{"short_description": "Forum topics",
"long_description": "Forum topics are created/edited in the Advanced Settings. Let us know if you need assistance.",
"is_checked": False,
"action_url": "SettingsAdvanced",
"action_text": "Edit Advanced Settings",
"action_external": False},
{"short_description": "Inline Discussion Sections",
"long_description": "Decide on whether and where to include in-line discussion links, and create them.",
"is_checked": False,
"action_url": "CourseOutline",
"action_text": "Edit Course Outline",
"action_external": False},
{"short_description": "The Course Wiki",
"long_description": "Create initial wiki post to welcome students.",
"is_checked": False,
"action_url": "Wiki",
"action_text": "Create initial wiki post",
"action_external": True},
{"short_description": "The Course Forum",
"long_description": "Create forum welcome post to set forum tone for students.",
"is_checked": False,
"action_url": "Forum",
"action_text": "Create forum welcome post",
"action_external": True}]}
]) ])
info_sidebar_name = String(scope=Scope.settings, default='Course Handouts') info_sidebar_name = String(scope=Scope.settings, default='Course Handouts')
show_timezone = Boolean( show_timezone = Boolean(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment