diff --git a/templates/ccpo/confirm_user.html b/templates/ccpo/confirm_user.html index eae94fec..d9cb610f 100644 --- a/templates/ccpo/confirm_user.html +++ b/templates/ccpo/confirm_user.html @@ -4,32 +4,45 @@ {% from "components/text_input.html" import TextInput %} {% block content %} - {% set ccpo_user_form = "add-ccpo-user-form" %} + {% if new_user %} + {% set ccpo_user_form = "add-ccpo-user-form" %} - {% call Alert('Confirm new CCPO user') %} + {% call Alert('Confirm new CCPO user') %} -
- {{ form.csrf_token }} - + + {{ form.csrf_token }} + +
+

+ Please confirm that the user details below match the user being given CCPO permissions. +

+

+ {{ new_user.full_name }} +

+

+ {{ new_user.email }} +

+
+
+ + {{ "common.cancel" | translate }} +
+
+ {% endcall %} + {% else %} + {% call Alert('User not found') %}
-

- Please confirm that the user details below match the user being given CCPO permissions. -

-

- {{ new_user.full_name }} -

-

- {{ new_user.email }} -

+ To add someone as a CCPO user, they must already have an ATAT account. +
+ + Return to list of CCPO users + +
-
- - {{ "common.cancel" | translate }} -
- - {% endcall %} + {% endcall %} + {% endif %} {% endblock %}