diff --git a/cms/templates/asset_index.html b/cms/templates/asset_index.html index 5161bb75c8..9d21d5e370 100644 --- a/cms/templates/asset_index.html +++ b/cms/templates/asset_index.html @@ -42,71 +42,78 @@ - ${_("Files & Uploads")} - + % if not waffle_flag_enabled: + + % endif
-
- % if waffle_flag_enabled: - <%static:studiofrontend page="AssetsPage" lang="en"> - { - "course": { - "id": "${context_course.id | n, js_escaped_string}", - "name": "${context_course.display_name_with_default | n, js_escaped_string}", - "url_name": "${context_course.location.name | n, js_escaped_string}", - "org": "${context_course.location.org | n, js_escaped_string}", - "num": "${context_course.location.course | n, js_escaped_string}", - "display_course_number": "${context_course.display_coursenumber | n, js_escaped_string}", - "revision": "${context_course.location.revision | n, js_escaped_string}" - }, - "help_tokens": { - "files": "${get_online_help_info(online_help_token())['doc_url'] | n, js_escaped_string}" - }, - "upload_settings": { - "max_file_size_in_mbs": ${max_file_size_in_mbs|n, dump_js_escaped_json} - } + % if waffle_flag_enabled: + <%static:studiofrontend page="AssetsPage" lang="en"> + { + "course": { + "id": "${context_course.id | n, js_escaped_string}", + "name": "${context_course.display_name_with_default | n, js_escaped_string}", + "url_name": "${context_course.location.name | n, js_escaped_string}", + "org": "${context_course.location.org | n, js_escaped_string}", + "num": "${context_course.location.course | n, js_escaped_string}", + "display_course_number": "${context_course.display_coursenumber | n, js_escaped_string}", + "revision": "${context_course.location.revision | n, js_escaped_string}" + }, + "help_tokens": { + "files": "${get_online_help_info(online_help_token())['doc_url'] | n, js_escaped_string}" + }, + "upload_settings": { + "max_file_size_in_mbs": ${max_file_size_in_mbs|n, dump_js_escaped_json} } - - % else: -
- % endif + } +

${_("Loading")}

-
- - + % endif
diff --git a/package.json b/package.json index f2b30ee51b..b6f55d9982 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "dependencies": { "@edx/edx-bootstrap": "0.4.3", "@edx/paragon": "1.7.1", - "@edx/studio-frontend": "0.7.0", + "@edx/studio-frontend": "0.8.3", "babel-core": "6.26.0", "babel-loader": "6.4.1", "babel-plugin-transform-class-properties": "6.24.1",