Merge pull request #1358 from cisagov/revert-1354-revert-1353-ab/401-error-text-updates

Revert "Revert "401 text update""
This commit is contained in:
Alysia Broddrick 2023-11-16 14:25:51 -08:00 committed by GitHub
commit b8645211ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,23 +11,18 @@
<h1> <h1>
{% translate "You are not authorized to view this page" %} {% translate "You are not authorized to view this page" %}
</h1> </h1>
<h2> <h2>
{% translate "Status 401" %} {% translate "Status 401" %}
</h2> </h2>
<p>
You must be an authorized user and signed in to view this page. If you are an authorized user,
<strong><a href="{% url 'login' %}"> try signing in again</a>.</strong>
</p>
<p>
If you'd like help with this error <a class="usa-link" rel="noopener noreferrer" target="_blank" href="{% public_site_url 'contact/' %}">contact us</a>.</p>
{% if friendly_message %}
<p>{{ friendly_message }}</p>
{% else %}
<p>{% translate "Authorization failed." %}</p>
{% endif %}
<p>
You must be an authorized user and need to be signed in to view this page.
Would you like to <a href="{% url 'login' %}"> try logging in again?</a>
</p>
<p>
If you'd like help with this error <a class="usa-link" rel="noopener noreferrer" target="_blank" href="{% public_site_url 'contact/' %}">contact us</a>.
</p>
{% if log_identifier %} {% if log_identifier %}
<p>Here's a unique identifier for this error.</p> <p>Here's a unique identifier for this error.</p>
@ -35,6 +30,7 @@
<p>{% translate "Please include it if you contact us." %}</p> <p>{% translate "Please include it if you contact us." %}</p>
{% endif %} {% endif %}
</div> </div>
<div class="tablet:grid-col-4"> <div class="tablet:grid-col-4">
<img <img
src="{% static 'img/registrar/dotgov_401_illo.svg' %}" src="{% static 'img/registrar/dotgov_401_illo.svg' %}"