Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
f172405c
Commit
f172405c
authored
Mar 18, 2013
by
Vasyl Nakvasiuk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove xml documentation from docs/source/
parent
27be7e15
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
56 additions
and
4 deletions
+56
-4
common/lib/xmodule/xmodule/conditional_module.py
+0
-3
doc/public/course_data_formats/conditional_module/conditional_module.rst
+54
-0
doc/public/course_data_formats/poll_module/poll_module.rst
+0
-0
doc/public/index.rst
+2
-0
docs/source/index.rst
+0
-1
No files found.
common/lib/xmodule/xmodule/conditional_module.py
View file @
f172405c
...
@@ -39,9 +39,6 @@ class ConditionalModule(ConditionalFields, XModule):
...
@@ -39,9 +39,6 @@ class ConditionalModule(ConditionalFields, XModule):
attempted - map to `is_attempted` module method
attempted - map to `is_attempted` module method
poll_answer - map to `poll_answer` module attribute
poll_answer - map to `poll_answer` module attribute
voted - map to `voted` module attribute
voted - map to `voted` module attribute
<conditional> tag attributes:
sources - location id of modules, separated by ';'
"""
"""
js
=
{
'coffee'
:
[
resource_string
(
__name__
,
'js/src/javascript_loader.coffee'
),
js
=
{
'coffee'
:
[
resource_string
(
__name__
,
'js/src/javascript_loader.coffee'
),
...
...
doc/public/course_data_formats/conditional_module/conditional_module.rst
0 → 100644
View file @
f172405c
**********************************************
Xml format of conditional module [xmodule]
**********************************************
.. module:: conditional_module
Format description
==================
The main tag of Conditional module input is::
<conditional>
...
</conditional>
``conditional`` can include any number of any xmodule tags (``html``, ``video``, ``poll``, etc.) or ``show`` tags.
conditional tag
---------------
The main container for a single instance of Conditional module. The following attributes can
be specified for this tag::
sources - location id of required modules, separated by ';'
message - message for case, where one of conditions not passed.
completed - map to `is_completed` module method
attempted - map to `is_attempted` module method
poll_answer - map to `poll_answer` module attribute
voted - map to `voted` module attribute
show tag
--------
Like unix symlink to some set of xmodules. The following attributes can
be specified for this tag::
sources - location id of required modules, separated by ';'
Example
=======
Examples of draggables that can't be reused
-------------------------------------------
.. code-block:: xml
<conditional
sources=
"i4x://MITx/0.000x/poll_question/first_real_poll_seq_with_reset"
poll_answer=
"man"
message=
"{link} must be answered for this to become visible."
>
<html>
<h2>
You see this, cause your vote value for "First question" was "man"
</h2>
<h2>
Code example:
</h2>
<pre
style=
"border: 1px solid; padding: 10px;"
>
</pre>
</html>
</conditional>
doc/public/course_data_formats/poll_module/poll_module.rst
0 → 100644
View file @
f172405c
This diff is collapsed.
Click to expand it.
doc/public/index.rst
View file @
f172405c
...
@@ -24,6 +24,8 @@ Specific Problem Types
...
@@ -24,6 +24,8 @@ Specific Problem Types
course_data_formats/drag_and_drop/drag_and_drop_input.rst
course_data_formats/drag_and_drop/drag_and_drop_input.rst
course_data_formats/graphical_slider_tool/graphical_slider_tool.rst
course_data_formats/graphical_slider_tool/graphical_slider_tool.rst
course_data_formats/poll_module/poll_module.rst
course_data_formats/conditional_module/conditional_module.rst
course_data_formats/custom_response.rst
course_data_formats/custom_response.rst
...
...
docs/source/index.rst
View file @
f172405c
...
@@ -14,7 +14,6 @@ Contents:
...
@@ -14,7 +14,6 @@ Contents:
overview.rst
overview.rst
common-lib.rst
common-lib.rst
djangoapps.rst
djangoapps.rst
xml_formats.rst
Indices and tables
Indices and tables
==================
==================
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment