Skip to content

Commit

Permalink
Update content footer and hr logic
Browse files Browse the repository at this point in the history
  • Loading branch information
martikat committed Apr 10, 2024
1 parent 87d364f commit f713e22
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions app/views/pages/default.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
dd.gem-c-metadata__definition
a.govuk-link href="https://www.gov.uk/government/organisations/department-for-education" Department for Education
dt.gem-c-metadata__term Published:
dd.gem-c-metadata__definition #{page.created_at.to_s(:long)}
dd.gem-c-metadata__definition = page.created_at.to_s(:long)
dt.gem-c-metadata__term Updated:
dd.gem-c-metadata__definition data-module="ga4-link-tracker" data-ga4-track-links-only="" data-ga4-link="{"event_name":"navigation","type":"content history","section":"Top","action":"opened"}" data-ga4-link-tracker-module-started="true" #{page.updated_at.to_s(:long)}

div class='govuk-grid-column-full'
hr class='govuk-section-break govuk-section-break--xl govuk-section-break--visible'
.govuk-grid-column-full
hr.govuk-section-break.govuk-section-break--xl.govuk-section-break--visible

= render 'shared/ctas'

Expand Down
4 changes: 2 additions & 2 deletions app/views/pages/side_nav.slim
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@

= m(page.body)

div class='govuk-grid-column-full'
hr class='govuk-section-break govuk-section-break--xl govuk-section-break--visible'
.govuk-grid-column-full
hr.govuk-section-break.govuk-section-break--xl.govuk-section-break--visible

= render 'shared/ctas'

Expand Down
3 changes: 1 addition & 2 deletions app/views/shared/_content_footer.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ section class='govuk-!-margin-top-7 govuk-!-margin-bottom-7'
span.govuk-caption-m Other early years resources from the Department for Education
h2.govuk-heading-l
= content_footer.title
p
= content_footer.body
= m(content_footer.body)
p
= govuk_link_to content_footer.link_to_text, content_footer.link_to, class: 'govuk-!-font-weight-bold'
.cta-banner-img
Expand Down

0 comments on commit f713e22

Please sign in to comment.