Skip to content

Commit

Permalink
Correct templating of error pages
Browse files Browse the repository at this point in the history
Changes not caught when we swtiched to the blueprint structure
  • Loading branch information
RafaelCenzano committed Oct 27, 2023
1 parent 99a41ae commit 9b6b489
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion labconnect/templates/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
{% block content %}
<h1>404 Not Found</h1>
<p>This page was not found</p>
<p><a href="{{ url_for('index') }}">Return Home</a></p>
<p><a href="{{ url_for('main.index') }}">Return Home</a></p>
<p>If you believe this is a bug or error please create an <a href="https://github.com/RafaelCenzano/LabConnect/issues">Issue</a></p>
{% endblock %}
2 changes: 1 addition & 1 deletion labconnect/templates/500.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
{% block content %}
<h1>500 Server Error</h1>
<p>The server had an error</p>
<p><a href="{{ url_for('index') }}">Return Home</a></p>
<p><a href="{{ url_for('main.index') }}">Return Home</a></p>
<p>If you believe this is a bug or error please create an <a href="https://github.com/RafaelCenzano/LabConnect/issues">Issue</a></p>
{% endblock %}

0 comments on commit 9b6b489

Please sign in to comment.