Commit bc236f3b by swdanielli

version string

parent 2b776c02
...@@ -27,7 +27,7 @@ except ImportError: ...@@ -27,7 +27,7 @@ except ImportError:
from mako.lookup import TemplateLookup from mako.lookup import TemplateLookup
from xblock.core import XBlock from xblock.core import XBlock
from xblock.fields import Scope, List, Dict, Boolean from xblock.fields import Scope, List, Dict, Boolean, String
from xblock.fragment import Fragment from xblock.fragment import Fragment
from xblock.reference.plugins import Filesystem from xblock.reference.plugins import Filesystem
...@@ -69,11 +69,11 @@ class RecommenderXBlock(XBlock): ...@@ -69,11 +69,11 @@ class RecommenderXBlock(XBlock):
scope=Scope.user_info scope=Scope.user_info
) )
# recommender_version = String( recommender_version = String(
# help="The version of this RecommenderXBlock", help="The version of this RecommenderXBlock",
# default="recommender.v1.0", default="recommender.v1.0",
# scope=Scope.content scope=Scope.content
# ) )
intro_enabled = Boolean( intro_enabled = Boolean(
help="Take users on a little tour the first time they see the XBlock?", default=True, scope=Scope.content help="Take users on a little tour the first time they see the XBlock?", default=True, scope=Scope.content
...@@ -94,8 +94,7 @@ class RecommenderXBlock(XBlock): ...@@ -94,8 +94,7 @@ class RecommenderXBlock(XBlock):
# "description" : (String) the url of a resource's screenshot, # "description" : (String) the url of a resource's screenshot,
# "descriptionText" : (String) a paragraph of # "descriptionText" : (String) a paragraph of
# description/summary of a resource } # description/summary of a resource }
# we use url as key (index) of resources # we use url as key (index) of resourcs
recommendations = Dict( recommendations = Dict(
help="Dict of help resources", default={}, scope=Scope.user_state_summary help="Dict of help resources", default={}, scope=Scope.user_state_summary
) )
......
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