Skip to content
Snippets Groups Projects
Unverified Commit ecab1286 authored by Michael Roytman's avatar Michael Roytman Committed by GitHub
Browse files

Merge pull request #18006 from edx/mroytman/add-accessibility-image-best-practice-doc-link

add image accessibility best practice documentation URL and pass thro…
parents 935a9653 03a9e852
Branches
Tags
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]
......
......@@ -176,7 +176,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