Skip to content

Release 2268

Choose a tag to compare

@github-actions github-actions released this 08 Feb 11:47
68f27f1

Trello card

Trello-520

Context

Some schools are part of a group/trust of schools and we have a static list of these school URNs.

If a school is part of a group, we want to show a CTA on the dashboard prompting them to add additional schools to the service.

Changes proposed in this pull request

  • Add CTA when school is part of group/trust

Guidance to review

I chose to include the URNs in a constant as there aren't many. We could store them against the school record in the database but it feels like overkill for this; if SchoolGroup becomes more of a 'thing' going forward we can re-evaluate it then.

Its not easy to test this as we don't have access to any of the schools in a group on preprod; instead you have to checkout the branch locally and add a URN for a school you do have access to into the list.

Desktop Mobile
Screenshot 2022-02-07 at 15 34 57 Screenshot 2022-02-07 at 15 35 13