Skip to content

Commit

Permalink
Update header.html added logo from site configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Chandana3008 authored Sep 13, 2024
1 parent 982ec45 commit 6f8f1d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cms/templates/widgets/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,23 @@
from cms.djangoapps.contentstore.utils import get_pages_and_resources_url, get_course_outline_url, get_updates_url, get_files_uploads_url, get_video_uploads_url, get_schedule_details_url, get_grading_url, get_advanced_settings_url, get_import_url, get_export_url, get_studio_home_url, get_course_team_url
from openedx.core.djangoapps.discussions.config.waffle import ENABLE_PAGES_AND_RESOURCES_MICROFRONTEND
from openedx.core.djangoapps.lang_pref.api import header_language_selector_is_enabled, released_languages
from common.djangoapps.edxmako.shortcuts import marketing_link
%>
<div class="wrapper-header wrapper" id="view-top">
<header class="primary" role="banner">
<div class="wrapper wrapper-l">
<h1 class="branding">
% if not toggles.use_new_home_page():
<a class="brand-link" href="/">
<img class="brand-image" src="https://static.talentsprint.com/iitk-logo.png" alt="${settings.STUDIO_NAME}" />
<img class="brand-image" src="${marketing_link('HEADER_LOGO')}" alt="${settings.STUDIO_NAME}" />
% if settings.LOGO_IMAGE_EXTRA_TEXT == 'edge':
<span class="font-italic"> <span class="tilted">|</span> EDGE</span>
% endif
</a>
% endif
% if toggles.use_new_home_page():
<a class="brand-link" href="${get_studio_home_url()}">
<img class="brand-image" src="https://static.talentsprint.com/iitk-logo.png" alt="${settings.STUDIO_NAME}" />
<img class="brand-image" src="${marketing_link('HEADER_LOGO')}" alt="${settings.STUDIO_NAME}" />
% if settings.LOGO_IMAGE_EXTRA_TEXT == 'edge':
<span class="font-italic"> <span class="tilted">|</span> EDGE</span>
% endif
Expand Down

0 comments on commit 6f8f1d8

Please sign in to comment.