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

Revert "401 text update"
This commit is contained in:
Alysia Broddrick 2023-11-16 13:27:12 -08:00 committed by GitHub
commit 2e3455e16b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,18 +11,23 @@
<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 signed in to view this page. If you are an authorized user, You must be an authorized user and need to be signed in to view this page.
<strong><a href="{% url 'login' %}"> try signing in again</a>.</strong> Would you like to <a href="{% url 'login' %}"> try logging in again?</a>
</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>.</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>
@ -30,7 +35,6 @@
<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' %}"
@ -39,4 +43,4 @@
</div> </div>
</div> </div>
</main> </main>
{% endblock %} {% endblock %}