Skip to content
Snippets Groups Projects
Commit 03a9e852 authored by Michael Roytman's avatar Michael Roytman
Browse files

add image accessibility best practice documentation URL and pass through to...

add image accessibility best practice documentation URL and pass through to studio-frontend edit image modal
parent 1974b9a4
Branches
Tags release-2019-06-19-11.15
No related merge requests found
......@@ -33,6 +33,7 @@ container = course_author:developing_course/course_components.html#components-th
video = course_author:video/index.html
certificates = course_author:set_up_course/studio_add_course_information/studio_creating_certificates.html
content_highlights = course_author:developing_course/course_sections.html#set-section-highlights-for-weekly-course-highlight-messages
image_accessibility = course_author:accessibility/best_practices_course_content_dev.html#use-best-practices-for-describing-images
# below are the language directory names for the different locales
[locales]
......
......@@ -174,7 +174,10 @@ from openedx.core.djangolib.markup import HTML, Text
<div id="edit-image-modal">
<%static:studiofrontend entry="editImageModal">
{
"lang": "${language_code | n, js_escaped_string}"
"lang": "${language_code | n, js_escaped_string}",
"help_tokens": {
"image_accessibility": "${get_online_help_info('image_accessibility')['doc_url'] | n, js_escaped_string}"
}
}
</%static:studiofrontend>
</div>
......
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