diff --git a/openedx/features/content_type_gating/templates/content_type_gating/access_denied_message.html b/openedx/features/content_type_gating/templates/content_type_gating/access_denied_message.html index 546b647704be09583c114ede4205aa96754412f3..b08d6e151742834330a334262a31e052fc4ae71d 100644 --- a/openedx/features/content_type_gating/templates/content_type_gating/access_denied_message.html +++ b/openedx/features/content_type_gating/templates/content_type_gating/access_denied_message.html @@ -17,5 +17,6 @@ </span> {% endif %} </div> - <img src="/static/images/edx-verified-mini-cert.png"> + <img src="{% static 'images/edx-verified-mini-cert.png' %}" + alt="{% trans 'Example of a verified certificate' as tmsg %}{{ tmsg | force_escape }}"> </div> diff --git a/openedx/features/course_experience/templates/course_experience/course-home-fragment.html b/openedx/features/course_experience/templates/course_experience/course-home-fragment.html index 6aadf9fd15841071d8e78959a808701cb3a7688d..9e427250345a95f34e98da23674cd54d27bf2ecd 100644 --- a/openedx/features/course_experience/templates/course_experience/course-home-fragment.html +++ b/openedx/features/course_experience/templates/course_experience/course-home-fragment.html @@ -140,7 +140,9 @@ from openedx.features.course_experience.course_tools import HttpMethod % if upgrade_url and upgrade_price: <div class="section section-upgrade course-home-sidebar-upgrade ${'discount' if has_discount else 'no-discount'}"> <h3 class="hd hd-6">${_("Pursue a verified certificate")}</h3> - <img src="https://courses.edx.org/static/images/edx-verified-mini-cert.png" alt=""> + <img src="${static.url('images/edx-verified-mini-cert.png')}" + alt="${_('Sample verified certificate with your name, the course title, the logo of the institution and the signatures of the instructors for this course.')}" /> + <div class="upgrade-container"> <p> <a id="green_upgrade" class="btn-brand btn-upgrade"