Mercurial > libervia-templates
diff sat_templates/templates/default/login/register.html @ 179:e5116a99eb3d
login/register: display message for invalid certificate
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 03 Mar 2019 17:15:48 +0100 |
parents | e9f0a4215e46 |
children | 3dd0b27f740c |
line wrap: on
line diff
--- a/sat_templates/templates/default/login/register.html Sun Mar 03 17:14:54 2019 +0100 +++ b/sat_templates/templates/default/login/register.html Sun Mar 03 17:15:48 2019 +0100 @@ -5,10 +5,12 @@ {% block login_error_message %} {% if login_error == S_C.ALREADY_EXISTS %} {%- trans %}This login already exists, please choose another one.{% endtrans -%} +{% elif login_error == S_C.INVALID_CERTIFICATE %} + {%- trans %}The certificate of the server is invalid. Please contact your server administrator.{% endtrans -%} {% elif login_error == S_C.INVALID_INPUT %} {%- trans %}The data you entered are nod valid.{% endtrans -%} {% elif login_error == S_C.BAD_REQUEST %} - {%- trans %}Bad request, please contact your service administrator{% endtrans -%} + {%- trans %}Bad request, please contact your service administrator.{% endtrans -%} {% else %} {%- trans %}An unknown error occurred, please contact your service administrator.{% endtrans -%} {% endif %}