From b79edcec07aedda746dad1c8f3f21ea35c55f37c Mon Sep 17 00:00:00 2001 From: Tijmen Brommet Date: Thu, 4 Oct 2018 10:54:42 +0100 Subject: [PATCH] Make Product name customisable This is to allow Signon to be called "Signon" again. We'll still use "Publishing" as the default. Follow up to https://github.com/alphagov/govuk_publishing_components/pull/557. https://trello.com/c/05wMNlxg --- CHANGELOG.md | 3 +++ .../components/_layout_header.html.erb | 3 ++- .../components/docs/layout_header.yml | 4 ++++ spec/components/layout_header_spec.rb | 6 ++++++ 4 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c6a07fb65..84b5b07b7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,9 @@ ## Unreleased * Fix toggle behaviour in related navigation and taxonomy navigation when JS disabled (PR #551) +* Make "GOV.UK Publishing" the default product name (PR #557 #561) +* Change the colour of production to red (PR #557) +* Add environment tag in the header for all environments (PR #557) ## 11.1.0 diff --git a/app/views/govuk_publishing_components/components/_layout_header.html.erb b/app/views/govuk_publishing_components/components/_layout_header.html.erb index 0e2ab473d0..5232bbb10a 100644 --- a/app/views/govuk_publishing_components/components/_layout_header.html.erb +++ b/app/views/govuk_publishing_components/components/_layout_header.html.erb @@ -1,4 +1,5 @@ <% + product_name ||= "Publishing" navigation_items ||= [] %>