Integrate visual styling into the course outline

This commit is contained in:
Andy Armstrong
2014-07-16 07:09:44 -04:00
committed by cahrens
parent c027f90dbc
commit a359065329
39 changed files with 796 additions and 447 deletions

View File

@@ -24,21 +24,6 @@ define(["backbone", "underscore", "js/utils/module"], function(Backbone, _, Modu
* An optional object with information about each of the ancestors.
*/
"ancestor_info": null,
/**
* True iff:
* 1) Edits have been made to the xblock and no published version exists.
* 2) Edits have been made to the xblock since the last published version.
*/
"has_changes": null,
/**
* True iff a published version of the xblock exists.
*/
"published": null,
/**
* If true, only course staff can see the xblock regardless of publish status or
* release date status.
*/
"visible_to_staff_only": null,
/**
* Date of the last edit to this xblock or any of its descendants.
*/
@@ -47,6 +32,10 @@ define(["backbone", "underscore", "js/utils/module"], function(Backbone, _, Modu
* User who last edited the xblock or any of its descendants.
*/
"edited_by":null,
/**
* True iff a published version of the xblock exists.
*/
"published": null,
/**
* Date of the last publish of this xblock, or null if never published.
*/
@@ -55,6 +44,15 @@ define(["backbone", "underscore", "js/utils/module"], function(Backbone, _, Modu
* User who last published the xblock, or null if never published.
*/
"published_by": null,
/**
* Represents the possible publish states for an xblock:
* is_live - the block and all of its children are live to students (except for staff only items)
* is_ready - the block and all of its children are ready to go live in the future
* unscheduled - the block and all of its children are unscheduled
* has_unpublished_content - the block or its children have unpublished content that is not staff only
* is_staff_only - all of the block's content is to be shown to staff only
*/
"publish_state": null,
/**
* True iff the release date of the xblock is in the past.
*/