Add in alert for when user isn't found

This commit is contained in:
leigh-mil 2019-08-07 16:37:15 -04:00
parent 811a498bf4
commit 9f54501df4

View File

@ -4,6 +4,7 @@
{% from "components/text_input.html" import TextInput %} {% from "components/text_input.html" import TextInput %}
{% block content %} {% block content %}
{% if new_user %}
{% set ccpo_user_form = "add-ccpo-user-form" %} {% set ccpo_user_form = "add-ccpo-user-form" %}
{% call Alert('Confirm new CCPO user') %} {% call Alert('Confirm new CCPO user') %}
@ -32,4 +33,16 @@
</div> </div>
</form> </form>
{% endcall %} {% endcall %}
{% else %}
{% call Alert('User not found') %}
<div>
To add someone as a CCPO user, they must already have an ATAT account.
<div class='action-group'>
<a class='action-group__action icon-link icon-link--default' href="{{ url_for('atst.ccpo_users') }}">
Return to list of CCPO users
</a>
</div>
</div>
{% endcall %}
{% endif %}
{% endblock %} {% endblock %}