When you are on the Dashboard, or on any page in courseware, the logo in the Header links to dashboard and the logo in the footer links to edX home page. LEARNER-2881
29 lines
964 B
HTML
29 lines
964 B
HTML
## mako
|
|
|
|
<%page expression_filter="h"/>
|
|
|
|
<%namespace name='static' file='/static_content.html'/>
|
|
|
|
<%!
|
|
from django.core.urlresolvers import reverse
|
|
from django.utils.translation import ugettext as _
|
|
|
|
# App that handles subdomain specific branding
|
|
from branding import api as branding_api
|
|
%>
|
|
|
|
<h1 class="hd logo-header navbar-brand">
|
|
<div class="logo">
|
|
<a class="navbar-brand" href="${branding_api.get_home_url()}" itemprop="url">
|
|
<img class="logo-image" src="${static.url("images/logo.png")}" alt="${_("{platform_name} Home Page").format(platform_name=static.get_platform_name())}" itemprop="logo" />
|
|
</a>
|
|
</div>
|
|
% if course and not disable_courseware_header:
|
|
<div class="course-header">
|
|
<span class="provider">${course.display_org_with_default}:</span>
|
|
<span class="course-number">${course.display_number_with_default}</span>
|
|
<span class="course-name">${course.display_name_with_default}</span>
|
|
</div>
|
|
% endif
|
|
</h1>
|