Commit 15b65fbe by David Baumgold

Fix static links for footer images

parent a03a11e0
......@@ -47,8 +47,10 @@ def get_logo_url(domain=None):
university = get_university(domain)
if university is None:
return '/static/images/header-logo.png'
return '{static_url}images/header-logo.png'.format(
static_url=settings.STATIC_URL
)
return '/static/images/{uni}-on-edx-logo.png'.format(
uni=university
return '{static_url}images/{uni}-on-edx-logo.png'.format(
static_url=settings.STATIC_URL, uni=university
)
......@@ -37,7 +37,7 @@
</nav>
<div class="colophon-about">
<img src="${MITX_ROOT_URL}/lms/static/images/header-logo.png" />
<img src="${static.url('images/header-logo.png')}" />
<p>${_("{platform_name} is a non-profit created by founding partners {Harvard} and {MIT} whose mission is to bring the best of higher education to students of all ages anywhere in the world, wherever there is Internet access. {platform_name}'s free online MOOCs are interactive and subjects include computer science, public health, and artificial intelligence.").format(platform_name="EdX", Harvard="Harvard", MIT="MIT")}</p>
</div>
......
......@@ -44,7 +44,7 @@
<header class="global">
<nav>
<h1 class="logo">
<a href="{{MKTG_URL_ROOT}}"><img src="/static/images/header-logo.png"></a>
<a href="{{MKTG_URL_ROOT}}"><img src="${static.url('images/header-logo.png')}"></a>
</h1>
</nav>
</header>
......
......@@ -48,7 +48,7 @@
<header class="global">
<nav>
<h1 class="logo">
<a href="{{MKTG_URL_ROOT}}"><img src="/static/images/header-logo.png"></a>
<a href="{{MKTG_URL_ROOT}}"><img src="${static.url('images/header-logo.png')}"></a>
</h1>
</nav>
</header>
......
Markdown is supported
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