Skip to content

Commit 016fc93

Browse files
Fix 403 Error Page Aesthetics (#592)
* Add help text and fix URL validation to prepend https:// if missing * Fix 403 error page aesthetics and ensure consistent URL generation * reverted unnecessary changes * Delete settings.py
1 parent 0218e43 commit 016fc93

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

templates/403.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{% extends "base_site.html" %}
2+
{% load i18n %}
3+
4+
{% block title %}403 - {{ block.super }}{% endblock %}
5+
6+
{% block content %}
7+
<section>
8+
<div class="row">
9+
<div class="col-md-12" style="margin-top: 20px">
10+
<div class="alert alert-danger">
11+
<h4>{% trans "Access Denied" %}</h4>
12+
<p>{% trans "You are not authorized to view this page." %}</p>
13+
</div>
14+
</div>
15+
</div>
16+
</section>
17+
{% endblock %}

0 commit comments

Comments
 (0)