Commit d890e4f0 by Bertrand Marron

Change logo url when not logged in

parent 7d5aa411
...@@ -36,18 +36,28 @@ site_status_msg = get_site_status_msg(course_id) ...@@ -36,18 +36,28 @@ site_status_msg = get_site_status_msg(course_id)
% endif % endif
</%block> </%block>
<header class="global ${"slim" if course else ""}" aria-label="${_('Global Navigation')}"> <header class="global ${"slim" if course else ""}" aria-label="${_('Global Navigation')}">
<nav> <nav>
<h1 class="logo">
<a href="${marketing_link('ROOT')}"> <h1 class="logo">
<%block name="navigation_logo"> % if user.is_authenticated():
<img src="${static.url(branding.get_logo_url())}" alt="${platform_name()}"/> <a href="${marketing_link('ROOT')}">
</%block> % else:
</a> <a href="https://courses.ionis-group.com">
</h1> % endif
<%block name="navigation_logo">
<img src="${static.url(branding.get_logo_url())}" alt="
% if course:
${course.display_org_with_default | h}: ${course.display_number_with_default | h} ${course.display_name_with_default | h} @
% endif
${platform_name()}
" />
</%block>
</a>
</h1>
% if course: % if course:
<h2><span class="provider">${course.display_org_with_default | h}:</span> ${course.display_number_with_default | h} ${course.display_name_with_default}</h2> <h2>${course.display_name_with_default}</h2>
% endif % endif
% if user.is_authenticated(): % if user.is_authenticated():
......
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