Skip to content

Commit

Permalink
Merge pull request #2309 from alphagov/revert-overview
Browse files Browse the repository at this point in the history
Revert PRs #2238 and #2292
  • Loading branch information
maxgds authored Dec 8, 2021
2 parents c16a181 + 49e1dc9 commit 8cc333a
Show file tree
Hide file tree
Showing 61 changed files with 8,101 additions and 9,453 deletions.
26 changes: 0 additions & 26 deletions app/views/content_items/_context_and_title.html.erb

This file was deleted.

2 changes: 1 addition & 1 deletion app/views/content_items/consultation.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<%= render 'context_and_title' %>
<%= render 'govuk_publishing_components/components/title', @content_item.title_and_context %>
</div>
<%= render 'shared/translations' %>
</div>
Expand Down
6 changes: 5 additions & 1 deletion app/views/content_items/publication.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@

<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<%= render 'context_and_title' %>
<%= render 'govuk_publishing_components/components/title',
context: t("content_item.schema_name.#{@content_item.document_type}", count: 1),
context_locale: t_locale_fallback("content_item.schema_name.#{@content_item.document_type}", count: 1),
title: @content_item.title,
average_title_length: "long" %>
</div>
<%= render 'shared/translations' %>

Expand Down
Loading

0 comments on commit 8cc333a

Please sign in to comment.