Only show nhs radios if user has nhs domain email

Also split local NHS into two groups following designer advice
on readability.
This commit is contained in:
Pea Tyczynska
2019-07-16 15:37:27 +01:00
parent 77d281f44f
commit c8ed608c9a
9 changed files with 67 additions and 31 deletions

View File

@@ -322,7 +322,7 @@ class User(JSONModel, UserMixin):
if self.default_organisation:
return self.default_organisation.organisation_type
if self.has_nhs_email_address:
return 'nhs_local'
return 'nhs'
return None
@property