Skip to content

Commit

Permalink
give tags unique colours on booking page
Browse files Browse the repository at this point in the history
  • Loading branch information
MylesJarvis committed Apr 8, 2024
1 parent 07dd52f commit 6ed6841
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/helpers/schools/bookings_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/helpers/schools/bookings_helper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ed6841

Please sign in to comment.