diff --git a/app/views/errors/deactivated-user.html b/app/views/errors/deactivated-user.html new file mode 100644 index 00000000..f9bc8087 --- /dev/null +++ b/app/views/errors/deactivated-user.html @@ -0,0 +1,20 @@ +{% extends 'layout.html' %} + +{% set pageName = "Sorry, there is a problem with your account" %} + +{% block content %} +
+
+

{{ pageName }}

+ +

It's likely your account has been deactivated. To get it reactivated, ask a lead administrator.

+ +

If that does not work, contact us. + + + +

+
+ + +{% endblock %} diff --git a/app/views/errors/keycloak-timeout.html b/app/views/errors/keycloak-timeout.html new file mode 100644 index 00000000..9365419c --- /dev/null +++ b/app/views/errors/keycloak-timeout.html @@ -0,0 +1,20 @@ +{% extends 'layout.html' %} + +{% set pageName = "Sorry, there is a problem" %} + +{% block content %} +
+
+

{{ pageName }}

+ +

You'll have to start again.

+ +

Start again + + + +

+
+ + +{% endblock %} diff --git a/app/views/index.html b/app/views/index.html index 25e6fa0d..b0b46014 100755 --- a/app/views/index.html +++ b/app/views/index.html @@ -67,8 +67,10 @@

Error pages

  • Sorry, there is a problem with the service (500 error)
  • Sorry, the service is unavailable (503 error)
  • Rate limited (429 error)
  • +
  • Sorry there is a problem with your account (user deactivated)
  • We cannot find a user with this email (after a successful 3rd party login)
  • You previously logged in a different way (Keycloak error)
  • +
  • Sorry, there is a problem (Keycloak generic error)
  • There is a temporary problem getting the patient's details (PDS API issue)
  • There is still a problem getting the patient's details (ongoing PDS API issue)
  • There is a temporary problem getting [patient name]'s vaccination history (history API issue)