Added a simple XBlockMixin for courseware licenses
This allows course authors to choose between two difference licenses for their course content: All Rights Reserved, or Creative Commons. In the backend, XBlocks that wish to allow custom licenses need only inherit from LicenseMixin, which adds a `license` field as a string. License information is displayed in the Studio editor view, and just below the rendered XBlock in the LMS. In addition, if the course block itself has a custom license set, this license will display just below the main body of the page on courseware pages. This entire feature is gated behind the LICENSING feature flag.
Showing
cms/static/js/models/license.js
0 → 100644
cms/static/js/spec/models/license_spec.js
0 → 100644
cms/static/js/spec/views/license_spec.js
0 → 100644
cms/static/js/views/license.js
0 → 100644
cms/templates/js/license-selector.underscore
0 → 100644
common/lib/xmodule/xmodule/mixin.py
0 → 100644
common/static/css/edx-cc-ie7.css
0 → 100644
common/static/css/edx-cc.css
0 → 100644
common/static/fonts/edx-cc/edx-cc.eot
0 → 100644
File added
common/static/fonts/edx-cc/edx-cc.svg
0 → 100644
common/static/fonts/edx-cc/edx-cc.ttf
0 → 100644
File added
common/static/fonts/edx-cc/edx-cc.woff
0 → 100644
File added
common/templates/license.html
0 → 100644
Please
register
or
sign in
to comment