-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix formatting Fix formatting
- Loading branch information
Showing
2 changed files
with
48 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,46 +10,46 @@ | |
<a href="/" class="govuk-header__link govuk-header__link--homepage"> | ||
<span class="govuk-header__logotype govuk-header__logotype--ws"> | ||
<img aria-hidden="true" | ||
src="{% webpack_static 'dbt-logo.png' %}" | ||
srcset="{% webpack_static '[email protected]' %} 2x" {# /PS-IGNORE #} | ||
alt="Department for Business & Trade logo" /> | ||
<span class="govuk-visually-hidden">Department for Business & Trade</span> | ||
</span> | ||
</a> | ||
</div> | ||
<div class="govuk-header__content gov-grid-column-two-thirds"> | ||
<a href="/" | ||
class="govuk-header__link govuk-header__link--ws govuk-header__service-name govuk-header__service-name--ws"> | ||
Digital Workspace | ||
</a> | ||
</div> | ||
{% include 'includes/profile_panel.html' %} | ||
<button type="button" | ||
class="govuk-header__menu-button govuk-header__menu-button--ws govuk-js-header-toggle" | ||
aria-controls="navigation" | ||
aria-label="Show or hide Top Level Navigation" | ||
hidden>Menu</button> | ||
src="{% webpack_static 'dbt-logo.png' %}" | ||
srcset="{% webpack_static '[email protected]' %} 2x" | ||
alt="Department for Business & Trade logo" /> | ||
<span class="govuk-visually-hidden">Department for Business & Trade</span> | ||
</span> | ||
</a> | ||
</div> | ||
<div class="govuk-header__content gov-grid-column-two-thirds"> | ||
<a href="/" | ||
class="govuk-header__link govuk-header__link--ws govuk-header__service-name govuk-header__service-name--ws"> | ||
Digital Workspace | ||
</a> | ||
</div> | ||
{% include 'includes/profile_panel.html' %} | ||
<button type="button" | ||
class="govuk-header__menu-button govuk-header__menu-button--ws govuk-js-header-toggle" | ||
aria-controls="navigation" | ||
aria-label="Show or hide Top Level Navigation" | ||
hidden>Menu</button> | ||
</div> | ||
|
||
<div class="nav-and-profile-bar"> | ||
<div class="govuk-width-container flex"> | ||
{% if USER_IS_AUTHENTICATED %} | ||
<nav aria-label="Top Level Navigation" class="govuk-header__navigation"> | ||
{% main_menu max_levels=1 template="menus/main_menu.html" apply_active_classes=True %} | ||
</nav> | ||
<div class="site-search"> | ||
{% if not search_url %} | ||
{% url 'search:all' as search_url %} | ||
{% endif %} | ||
{% include 'search/partials/search_form.html' with placeholder="Search pages and people" search_url=search_url %} | ||
</div> | ||
{% endif %} | ||
</div> | ||
<div class="nav-and-profile-bar"> | ||
<div class="govuk-width-container flex"> | ||
{% if USER_IS_AUTHENTICATED %} | ||
<nav aria-label="Top Level Navigation" class="govuk-header__navigation"> | ||
{% main_menu max_levels=1 template="menus/main_menu.html" apply_active_classes=True %} | ||
</nav> | ||
<div class="site-search"> | ||
{% if not search_url %} | ||
{% url 'search:all' as search_url %} | ||
{% endif %} | ||
{% include 'search/partials/search_form.html' with placeholder="Search pages and people" search_url=search_url %} | ||
</div> | ||
{% endif %} | ||
</div> | ||
</header> | ||
{% if FEATURE_FLAGS.new_homepage %} | ||
{% else %} | ||
{% if USER_IS_AUTHENTICATED %} | ||
{% site_alert %} | ||
{% endif %} | ||
</div> | ||
</header> | ||
{% if FEATURE_FLAGS.new_homepage %} | ||
{% else %} | ||
{% if USER_IS_AUTHENTICATED %} | ||
{% site_alert %} | ||
{% endif %} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,12 @@ | |
{% load render_bundle webpack_static from webpack_loader %} | ||
{% block branding_logo %} | ||
<img src="{% webpack_static 'dbt-logo-white.png' %}" | ||
srcset="{% webpack_static '[email protected]' %} 2x" {# /PS-IGNORE #} | ||
alt="Department for Business & Trade logo" | ||
class="wide"> | ||
<span class="wide">Digital Workspace CMS</span> | ||
<img src="{% webpack_static 'dbt-mark-white.png' %}" | ||
alt="Department for Business & Trade logomark" | ||
class="slim"> | ||
<span class="slim">CMS</span> | ||
{% endblock branding_logo %} | ||
srcset="{% webpack_static '[email protected]' %} 2x" {# /PS-IGNORE #} | ||
alt="Department for Business & Trade logo" | ||
class="wide"> | ||
<span class="wide">Digital Workspace CMS</span> | ||
<img src="{% webpack_static 'dbt-mark-white.png' %}" | ||
alt="Department for Business & Trade logomark" | ||
class="slim"> | ||
<span class="slim">CMS</span> | ||
{% endblock branding_logo %} |