Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
beccapearce committed Jan 9, 2025
1 parent 449d130 commit 7bcf735
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions app/views/content_items/worldwide_organisation/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
<header class="worldwide-organisation-header govuk-grid-row">
<div class="govuk-grid-column-two-thirds worldwide-organisation-header__logo">
<%= render "govuk_publishing_components/components/organisation_logo", {
organisation: @content_item.organisation_logo,

<% if @content_item.sponsoring_organisations.present? %>
<%= render "govuk_publishing_components/components/heading", {
text: @content_item.title,
heading_level: 1,
inline: true,
} %>
} %>
<% else %>
<%= render "govuk_publishing_components/components/organisation_logo", {
organisation: @content_item.organisation_logo,
heading_level: 1,
inline: true,
} %>
<% end %>
</div>

<div class="govuk-grid-column-one-third govuk-!-padding-top-2">
Expand Down

0 comments on commit 7bcf735

Please sign in to comment.