From 6ed68413af84bc1335e20274ef957446a5e59154 Mon Sep 17 00:00:00 2001 From: MylesJarvis Date: Mon, 8 Apr 2024 14:37:00 +0100 Subject: [PATCH] give tags unique colours on booking page --- app/helpers/schools/bookings_helper.rb | 2 +- spec/helpers/schools/bookings_helper_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/schools/bookings_helper.rb b/app/helpers/schools/bookings_helper.rb index 45445da10..44af573cb 100644 --- a/app/helpers/schools/bookings_helper.rb +++ b/app/helpers/schools/bookings_helper.rb @@ -21,7 +21,7 @@ def attendance_status(booking) if booking.cancelled? tag.strong 'Cancelled', class: 'govuk-tag govuk-tag--red' else - tag.strong 'Not set', class: 'govuk-tag govuk-tag--grey' + tag.strong 'Not set', class: 'govuk-tag govuk-tag--light-blue' end end end diff --git a/spec/helpers/schools/bookings_helper_spec.rb b/spec/helpers/schools/bookings_helper_spec.rb index 9de42101b..b71640a73 100644 --- a/spec/helpers/schools/bookings_helper_spec.rb +++ b/spec/helpers/schools/bookings_helper_spec.rb @@ -35,7 +35,7 @@ let(:booking) { create(:bookings_booking, :accepted) } it do is_expected.to \ - have_css('strong.govuk-tag.govuk-tag--grey', text: 'Not set') + have_css('strong.govuk-tag.govuk-tag--light-blue', text: 'Not set') end end end