{% extends "errors/dashboard/base.html" %} {% comment %} This is for the dashboard 404 error page, not the documentation 404 error pages. This will only show from our application. {% endcomment %} {% load blocktrans trans from i18n %} {% block title %} {% trans "Page not found" %} {% endblock title %} {% block error_status %} 404 {% endblock error_status %} {% block error_title %} {{ block.super }} {% trans "Page not found" %} {% endblock error_title %} {% block error_icon_computer_name %} fa-radar {% endblock error_icon_computer_name %} {% block error_icon_mobile_name %} fa-radar {% endblock error_icon_mobile_name %} {% block error_icon_computer_style %} --fa-primary-color: greenyellow; {% endblock error_icon_computer_style %} {% block error_icon_mobile_style %} --fa-primary-color: greenyellow; {% endblock error_icon_mobile_style %} {% block error_content %}
{% blocktrans trimmed %} The resource you requested may no longer exist, may have been moved, or you might not have permission to view this page. {% endblocktrans %}
{% endblock error_content %} {% comment %} We support the following cases with this error page: - The URL was just plain bad - The user is not authenticated and the project/resource is not public. We don't want to indicate that the project/resource exists. - The user is authenticated and doesn't have permissions. Again, we do not want to indicate that the resource exists. {% endcomment %} {% block error_content_help %} {% if request.user.is_authenticated %} {# User is authenticated, we might have given a 404 to hide a 403 response #}{% blocktrans trimmed %} Ensure you have the correct permissions and try again. {% endblocktrans %}
{% else %} {# User is not authenticated, we might have given a 404 to hide a 401 response #}{% url "account_login" as url_login %} {% blocktrans trimmed with url_login=url_login url_login_next=request.path %} Log in and try loading this page again. {% endblocktrans %}
{% endif %} {{ block.super }} {% endblock error_content_help %}