Commit 892cf7ba by Victor Shnayder

cleanup tabs documentation a bit

parent 62bb1015
...@@ -358,19 +358,14 @@ Links that include `/course` will be rewritten to the root of your course in the ...@@ -358,19 +358,14 @@ Links that include `/course` will be rewritten to the root of your course in the
If you want to customize the courseware tabs displayed for your course, specify a "tabs" list in the course-level policy. e.g.: If you want to customize the courseware tabs displayed for your course, specify a "tabs" list in the course-level policy. e.g.:
"tabs" : [ "tabs" : [
{ "type": "courseware"}, # no name--always "Courseware" for consistency between courses {"type": "courseware"}, # no name--always "Courseware" for consistency between courses
{"name": "Course Info", {"type": "course_info", "name": "Course Info"},
"type": course_info"}, {"type": "external_link", "name": "My Discussion", "link": "http://www.mydiscussion.org/blah"},
{"name": "My Discussion", {"type": "progress", "name": "Progress"},
"type": external_"link", {"type": "wiki", "name": "Wonderwiki"},
"link": "http://www.mydiscussion.org/blah"}, {"type": "textbooks"} # generates one tab per textbook, taking names from the textbook titles
{"name": "Progress", ]
"type": "Progress"},
{"name": "Wonderwiki",
"type": "wiki"},
{"type": "textbooks"} # generates one tab per textbook, taking names from the textbook titles
]
* If you specify any tabs, you must specify all tabs. They will appear in the order given. * If you specify any tabs, you must specify all tabs. They will appear in the order given.
......
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