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>
{% if friendly_message %}
<p>{{ friendly_message }}</p>
{% else %}
<p>{% translate "Authorization failed." %}</p>
{% endif %}
<p> <p>
You must be an authorized user and need to be signed in to view this page. You must be an authorized user and signed in to view this page. If you are an authorized user,
Would you like to <a href="{% url 'login' %}"> try logging in again?</a> <strong><a href="{% url 'login' %}"> try signing in again</a>.</strong>
</p> </p>
<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>. 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>
</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' %}"
@ -43,4 +39,4 @@
</div> </div>
</div> </div>
</main> </main>
{% endblock %} {% endblock %}