Merge pull request #25858 from edx/aj/branding/serve-assets-using-static-storage

Serve assets using static storage
This commit is contained in:
Awais Jibran
2020-12-12 01:18:41 +05:00
committed by GitHub
2 changed files with 5 additions and 2 deletions

View File

@@ -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>

View File

@@ -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"