Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 403 Error Page Aesthetics #592

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added settings.py
Empty file.
17 changes: 17 additions & 0 deletions templates/403.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{% extends "base_site.html" %}
{% load i18n %}

{% block title %}403 - {{ block.super }}{% endblock %}

{% block content %}
<section>
<div class="row">
<div class="col-md-12" style="margin-top: 20px">
<div class="alert alert-danger">
<h4>{% trans "Access Denied" %}</h4>
<p>{% trans "You are not authorized to view this page." %}</p>
</div>
</div>
</div>
</section>
{% endblock %}
Loading