mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Make content of validate and error pages consistent
Makes all three pages have: - the same hint text - balanced spacing - a checkbox for controlling whether the address is the default
This commit is contained in:
@@ -23,23 +23,19 @@
|
|||||||
<a href="{{ url_for('.service_email_reply_to', service_id=service_id) }}" class="button">Continue</a>
|
<a href="{{ url_for('.service_email_reply_to', service_id=service_id) }}" class="button">Continue</a>
|
||||||
</div>
|
</div>
|
||||||
{% elif verification_status == "failure" %}
|
{% elif verification_status == "failure" %}
|
||||||
{% call banner_wrapper(type='dangerous') %}
|
<div class="bottom-gutter">
|
||||||
<h2 class='banner-title' data-module="track-error" data-error-type="reply-to-email-not-working" data-error-label="{{ upload_id }}">
|
{% call banner_wrapper(type='dangerous') %}
|
||||||
There’s a problem with your reply-to address
|
<h2 class='banner-title' data-module="track-error" data-error-type="reply-to-email-not-working" data-error-label="{{ upload_id }}">
|
||||||
</h2>
|
There’s a problem with your reply-to address
|
||||||
<p>
|
</h2>
|
||||||
We sent an email to ‘{{ reply_to_email_address }}’ but it wasn’t delivered.
|
<p>
|
||||||
</p>
|
We sent an email to ‘{{ reply_to_email_address }}’ but it wasn’t delivered.
|
||||||
<p>
|
</p>
|
||||||
You can try again, or use a different address.
|
<p>
|
||||||
</p>
|
You can try again, or use a different address.
|
||||||
{% endcall %}
|
</p>
|
||||||
<p>
|
{% endcall %}
|
||||||
Let recipients send replies to a shared inbox that’s managed by your team.
|
</div>
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
Do not use your own email address for replies.
|
|
||||||
</p>
|
|
||||||
{% if replace and replace != "False" %}
|
{% if replace and replace != "False" %}
|
||||||
{% set form_url = url_for('.service_edit_email_reply_to', service_id=service_id, reply_to_email_id=replace) %}
|
{% set form_url = url_for('.service_edit_email_reply_to', service_id=service_id, reply_to_email_id=replace) %}
|
||||||
{% else %}
|
{% else %}
|
||||||
@@ -50,14 +46,11 @@
|
|||||||
) %}
|
) %}
|
||||||
{{ textbox(
|
{{ textbox(
|
||||||
form.email_address,
|
form.email_address,
|
||||||
width='2-3',
|
width='1-1',
|
||||||
safe_error_message=True
|
safe_error_message=True,
|
||||||
|
hint='This should be a shared inbox managed by your team, not your own email address'
|
||||||
) }}
|
) }}
|
||||||
{% if form.is_default.data %}
|
{% if not first_email_address and not replace %}
|
||||||
<p class="form-group">
|
|
||||||
This is the default reply-to address for {{ current_service.name }} emails
|
|
||||||
</p>
|
|
||||||
{% else %}
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
{{ checkbox(form.is_default) }}
|
{{ checkbox(form.is_default) }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -19,8 +19,9 @@
|
|||||||
{% call form_wrapper() %}
|
{% call form_wrapper() %}
|
||||||
{{ textbox(
|
{{ textbox(
|
||||||
form.email_address,
|
form.email_address,
|
||||||
width='2-3',
|
width='1-1',
|
||||||
safe_error_message=True
|
safe_error_message=True,
|
||||||
|
hint='This should be a shared inbox managed by your team, not your own email address.'
|
||||||
) }}
|
) }}
|
||||||
{% if form.is_default.data %}
|
{% if form.is_default.data %}
|
||||||
<p class="form-group">
|
<p class="form-group">
|
||||||
|
|||||||
Reference in New Issue
Block a user